Installing osCommerce

01
of 08

Prepare for the Installation of osCommerce

The first thing you should do when installing osCommerce is make sure that you have the required server details. Specifically:

  • PHP3 or PHP4
  • Apache
  • MySQL

Then create a database and user for that database. Be sure to write down the username, password, and database name for your store.

02
of 08

Download the Latest Version of osCommerce

Download the Latest Version of osCommerce
Download the Latest Version of osCommerce. Screen shot by J Kyrnin

Get the latest version of osCommerce from their website: http://www.oscommerce.com/.

Unzip the file into a directory on your hard drive. Then you can look at the documentation, license and other files. Once you've reviewed those files, you should upload the "catalog" and "extras" folders and all files in them to the root of your website. Your website should have the directory structure:

 /catalog
 /catalog/admin
 /extras 

03
of 08

Start Customizing Your Version of osCommerce

Start Customizing Your Version of osCommerce
Start Customizing Your Version of osCommerce. Screen shot by J Kyrnin

Go to http://yourserver/catalog/install to start the installation process. osCommerce will automatically check your serer configuration to make sure that everything is set up correctly. Watch for error messages listed in red at the top of the screen to see if there's anything special you need to do.

When osCommerce has no error messages on this page, click on the Continue button.

04
of 08

Set Up Your Database Server

Set Up Your Database Server
Set Up Your Database Server. Screen shot by J Kyrnin

Fill in the database information with the name of your Web server, the username of your database user and the database user password, as well as the database name. These were all defined in step 1, before you started the installation.

osCommerce will check to make sure that the database exists and that your database user can connect to it. When it's all working correctly, click on the Continue button.

05
of 08

Set Up Your Web Server

Set Up Your Web Server
Set Up Your Web Server. Screen shot by J Kyrnin

Fill in the URL to the catalog of your online store. You'll also need to fill in the full path on the server itself as the root directory. When you're done, click Continue.

06
of 08

Name Your osCommerce Store and Other Settings

Name Your osCommerce Store and Other Settings
Name Your osCommerce Store and Other Settings. Screen shot by J Kyrnin

Give your store a name, an owner name (can be the same as the store name), owner email address, administrator username and password. Be sure to write those down so you can login. When you're done, click Continue.

07
of 08

You Have Successfully Installed osCommerce

You Have Successfully Installed osCommerce
You Have Successfully Installed osCommerce. Screen shot by J Kyrnin

Congratulations! You have gotten osCommerce installed on your Web server. Click on the Catalog button to see your new Web store.

Important Security Steps

  1. Rename or remove the /catalog/install folder.
  2. Change the permissions on the /catalog/includes/configure.php file so that it can't be written to.
  3. Add a .htaccess password on the /catalog/admin folder so that it's password protected.

Note: if you put a .htaccess password on the directory, you will be prompted for a password twice - once by the server and once by the admin program. This may seem tedious, but is a good security practice.

08
of 08

Your New osCommerce Store

Your New osCommerce Store
Your New osCommerce Store. Screen shot by J Kyrnin

This is your new online store. Now you will need to do more configuration, add a payment gateway, and add products to your catalog. Go to the administration pages to start configuring your store and adding products to sell.


http://yourserver/catalog/admin/