Home > PHP-Shopping-Cart

PHP-Shopping-Cart

PHP-Shopping-Cart is a project mainly written in PHP, it's free.

Shopping Cart website using PHP

This is demo site based on PHP to implement Shopping Cart.

How to use: After installing LAMP or WAMP package:

  1. Open hosts file:

(On windows) %SystemRoot%\system32\drivers\etc\hosts

(On linux) /etc/hosts

and add following line: 127.0.0.3 php-sc

  1. Add virtual host specification in file: (On Windows) C:\path\to\\httpd-vhosts.conf

E.g. path for WAMPServer: C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf

or

(On Linux/Ubuntu) /etc/apache2/sites-available/default

these lines: NameVirtualHost 127.0.0.3

<VirtualHost 127.0.0.3> DocumentRoot /path/to/PHP-Shopping-Cart ServerName php-sc

  1. Restart apache server and test this website in any browser by using the url:- http://php-sc/