/PHP-Shopping-Cart

Shopping Cart website using PHP

Primary LanguagePHP

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

2. Add virtual host specification in file:
(On Windows)
C:\\path\to\<apache_dir>\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
</VirtualHost>

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