Page 1 of 1

Migrating to Linux based server

Posted: Thu Oct 22, 2009 11:06 pm
by seanjohn
I personalized opencart using a windows based xampp server now someone advised me to upload it onto a Linux based xampp server. Is this a simple working folder case of copy and paste or is there something else i need 2 do somewhere on the files?

Re: Migrating to Linux based server

Posted: Thu Oct 22, 2009 11:18 pm
by fido-x
seanjohn wrote:I personalized opencart using a windows based xampp server now someone advised me to upload it onto a Linux based wampp server. Is this a simple working folder case of copy and paste or is there something else i need 2 do somewhere on the files?
Wampp doesn't run on Linux - it runs on Windows (that's what the "w" stands for), xampp will run on anything (Windows, Mac and Linux). But Linux mainly uses Apache.

But, to answer your question. You should only need to edit your config files (config.php and admin/config.php) to show the new paths to your folder(s). Of course, you will need to set the correct permissions on the relevant folders (see install.txt in the package you downloaded).

Alternatively (and probably the best method), do a dump of your database. Then, use a text editor to replace your db prefix with "opencart_", rename this file to "opencart.sql" and place it in your install folder (replacing the existing "opencart.sql" file). Empty the contents of your config files (config.php and admin/config.php) - don't delete them. Upload everything to the Linux server and follow the installation instructions as if you were doing a clean install.

Re: Migrating to Linux based server

Posted: Tue Nov 03, 2009 5:55 pm
by seanjohn
thanks for the response, will be updating on progress later. i.m using LAMMP