Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Local PC Test Server


Brian-Bear

Recommended Posts

Hi

I hope someone can point me in the right direction. I wish to do development work/add new catagories products etc to our live stores offline on a laptop or PC running as a test server. Our live stores run on windows 2003 with IIS6 and our local PCs all run windows 2000, can anyone explain or post a link how to do this offline development with oscommerce.

 

thanks in advange

Link to comment
Share on other sites

Go to this address: http://www.apachefriends.org/en and download the Installer version of XAMPP. This is an all-in-one package which includes an Apache Web Server, PHP 4 & 5, MySQL, PHPMyAdmin etc. Once it's downloaded it's literally a 1-click install.

 

Once it is installed you can switch between PHP 4 & 5 using the switch-bat function in the XAMPP control panel (Apache must be shut down first).

 

You download a backup of your online site, plus a backup of the database. Go to http://lcalhost/phpmyadmin and create a blank database and then use the SQL tab to import the contents of the database backup into it.

 

Create a folder called 'catalog' (or whatever you like) inside the XAMPP htdocs folder and drop all of your website folder/files into it. Edit the two configure.php files to run on http://localhost, with the DIR_WS path /catalog/

 

You should now have a working local copy of your online website.

 

If you wish to test mail functions then also install Post Cast Server (mail server).

 

Vger

Link to comment
Share on other sites

Go to this address: http://www.apachefriends.org/en and download the Installer version of XAMPP. This is an all-in-one package which includes an Apache Web Server, PHP 4 & 5, MySQL, PHPMyAdmin etc. Once it's downloaded it's literally a 1-click install.

 

Once it is installed you can switch between PHP 4 & 5 using the switch-bat function in the XAMPP control panel (Apache must be shut down first).

 

You download a backup of your online site, plus a backup of the database. Go to http://lcalhost/phpmyadmin and create a blank database and then use the SQL tab to import the contents of the database backup into it.

 

Create a folder called 'catalog' (or whatever you like) inside the XAMPP htdocs folder and drop all of your website folder/files into it. Edit the two configure.php files to run on http://localhost, with the DIR_WS path /catalog/

 

You should now have a working local copy of your online website.

 

If you wish to test mail functions then also install Post Cast Server (mail server).

 

Vger

 

:thumbsup: First, let me thank everyone for all the useful info in this forum. I'm learning a lot. I haven't found if this issue has been addressed. I think I understand the basics for a development site. The question I have is this: Is it possible to set up more than 1 site this way on the same PC? Could it be done using another folder for the other site? Thanks again!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...