What is osCommerce and how to install osCommerce in localhost?

Oscommerce is shopping cart open source licensed version.
It is purely developed in PHP language.
it is download from the site http://www.oscommerce.com/solutions/downloads

Just follow the following instructions:

  • Unzip the downloaded file in the appserv->www folder.
  • Create a database for the oscommerce shopping cart.
  • just run the file like in the browser

http://localhost/oscommerce/catalog/

  • It is redirected to install.php file and install in the system.
  • In the installation process give the database details also.
server details : localhost
database user : root
database password : root
database name : oscommerce
  • Give the admin details also

admin user name and password.

  • After we enter the all details we will complete the installation process of oscommerce.
  • Just delete or rename the install.php file
  • In the includes folder configure.php file change the permission of the file to read only.
  • The run the shopping cart url like :

http://localhost/oscommerce/catalog/
Admin panel url :
http://localhost/oscommerce/catalog/admin/

Anil Kumar Panigrahi

With more than 10 years experience in PHP and Founder of Anil Labs, a blog for PHP and related posts. contributed posts regarding CodeIgniter, CakePHP and Learn PHP online ... Contact : [email protected]

You may also like...

6 Responses

  1. aspragina says:

    Hi anil,

    its a nice post. I’m new in website design can u detail up on

    ‘Create a database for the oscommerce shopping cart.’

  2. Hello,

    Create a database :

    http://localhost/phpmyadmin/
    and give the login details and there is text box , give the your database name and click on create database, then it will create database, after that follow the above points.

  3. kishore says:

    Hi Anil,

    I am not able to create user on localhost.
    It is throwing me following error while registering user.

    Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in D:\xampp\htdocs\mybazar\catalog\includes\classes\email.php on line 522

    Warning: Cannot modify header information – headers already sent by (output started at D:\xampp\htdocs\mybazar\catalog\includes\classes\email.php:522) in D:\xampp\htdocs\mybazar\catalog\includes\functions\general.php on line 33

  1. November 5, 2011

    […] friends,In my previous post i have explained what is oscommerce and how to install it in localhost. Today I want to discuss how to configure the oscommerce if we are files at subfolder and  run at […]

  2. November 16, 2011

    […] my previous posts i have explained how to install oscommerce and how to configure in server. Recently one of my friend installed php 5.3 version in his system , […]

Leave a Reply

Your email address will not be published. Required fields are marked *