What is osCommerce and how to install osCommerce in localhost?

in OsCommerce / 6 Comments

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/

With more than 8 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]

Discussion 6 Comments

  1. aspragina

    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. kishore

    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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>