ANIL KUMAR PANIGRAHI 's Blog

What is osCommerce and how to install osCommerce in localhost?

Posted by: Anil Kumar Panigrahi in: ● April 16, 2009

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/

Share on Twitter

3 Comments to "What is osCommerce and how to install osCommerce in localhost?"

1 | aspragina

3 de February de 2010 to ● 10:16 am

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 | Anil Kumar Panigrahi

3 de February de 2010 to ● 10:30 am

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

3 de August de 2010 to ● 7:40 am

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

Write Comment

About Me

  Anil Kumar Panigrahi
  Software Engineer (PHP)
  Blogger & Founder of Anil Labs
  Baruva, India

You can share with me . . .

My Own Contributions

1) First contribution for codeigniter framework ( multi language support using google translate API ). we can get files from http://github.com/nyros/codeigniter_multilanguage


2) Audio and Video Streaming using FFMpeg and PHP -complete doc file : http://www.docstoc.com/docs/8300349/Audio-and-Video-Streaming

Twitter Updates

Follow me @anil2u
  • We will always be thankful to our teacher for all the hard work and efforts they have put in, for educating us.- Happy teachers Day . . . :) - posted on 05/09/2010 05:39:13
  • Working on shipping cost functionality (UPS and USPS) for oscommerce shopping cart - posted on 01/09/2010 09:40:03
  • If your freedom hurts others, you are not free. You must not hurt others. - Vivekananda - posted on 31/08/2010 06:02:49
  • Another day starts with full of energy . Good Morning - posted on 31/08/2010 02:54:12
  • Nice explanation about php oops concept : http://youropensource.com/projects/182-OOPS-Concepts-in-PHP - posted on 30/08/2010 19:56:17