hkaiser Posted August 20, 2005 Posted August 20, 2005 Hi, I would like to install two independent instances of osCommerce on one system. With Apache is everything ok, but how I can use to different databases. Where I have to change the database settings that two database which should be called oscommerce_store1 and oscommerce_store2 work with there shops? Thanks for the help in advance. hkaiser
mloeffen Posted August 20, 2005 Posted August 20, 2005 Change database-settings in /catalog/includes/configure.php and /catalog/admin/includes/configure.php
dahui Posted August 20, 2005 Posted August 20, 2005 so where is the problem? create to empty dbs osc1 and osc2 eg with phpmyadmin create 2 httpdoc directories, osc1 and osc2 copythe catalog into directories osc1 and osc2 start browser with localhost/osc1/catalog/install/ and follow the routine using db osc1 do it again start browser with localhost/osc2/catalog/install/ and follow the routine using db osc2 DONE U can have multiple instances, I have A) mirror of online system B) testing enviremont C-...) several environments with different contribs for development If I change s.th I do it on develop instances, when it runs I bring it to test, if itworksfine I bring it online an back thisstate immediately into my local mirror! dahui
hkaiser Posted August 20, 2005 Author Posted August 20, 2005 Hi, Thanks a lot. I changed the settings in configure.php and after 3 minutes and the installation procedure everything worked perfectly. Thanks. hkaiser
Recommended Posts
Archived
This topic is now archived and is closed to further replies.