Quick Start Guide

For advanced users, just follow the steps outlined below for a quick and painless installation. If you know what you are doing, the entire process, start to finish is less than 30 minutes (once you get the files uploaded!)
  1. Upload the /catalog and /admin dirs to your server
    Upload the oscommerce files to your server.  The structure of the oscommerce archive is this
    tep-snapshot
                -catalog
                     -catalog
                -admin
                      -admin     
    The files are located in the second catalog and admin directories. Upload the catalog directory to your  document root (public_html or www, etc...) using your favorite FTP program. Be sure to upload all PHP files in ASCII mode, not Binary.  After this has finished, navigate to the /catalog dir on your server, and upload the admin directory to this location. This will create the structure below:
    public_html
                -catalog
                       -admin
     
  2. Set the permissions on /catalog/includes/configure.php and /catalog/admin/includes/configure.php to 706 or 777  and make sure all permissions are set correctly:

     

    Directory Permission Level
    /admin/includes chmod 755
    /catalog/includes chmod 755
    /admin/includes/configure.php chmod 777
    /catalog/includes/configure.php chmod 777
    /catalog/images chmod 777
  3. Using phpMyAdmin or other tool, create your database and user, and assign that user to the database Make note of the name of the database. login and password for this database, you will need this later.
  4. Run the install script, filling in all the required information. Check the “import database” and “auto configuration” check boxes. Make sure your install paths are correct, and that your database server is “localhost” Also enter the correct database username and password (the info you kept handy from step 3). Confirm that all information is correct and follow the install script until it ends.
  5. Check your catalog to see that it is working. Do the same for the admin. (use the buttons on the final page of the installation script.) Ignore any colored error bars at the top of each page.
  6. Re-set the permissions on /catalog/includes/configure.php and /admin/includes/configure.php to 644

     

    Directory Permission Level
    /admin/includes chmod 755
    /catalog/includes chmod 755
    /admin/includes/configure.php chmod 644
    /catalog/includes/configure.php chmod 644
    /catalog/images chmod 777
  7. Set the permissions on /catalog/images dir to 777
  8. Create the dir /admin/backups and set the permissions to 777
  9. Password protect your /catalog/admin dir using .htaccess
  10. Add to your DirectoryIndex statement and include the following : default.php index.php . This can be done in the Apache httpd.conf file if you have root access, or can be done in a .htaccess file in your /catalog dir.
  11. Delete the /catalog/install directory, or someone could overwrite your database and otherwise compromise or destroy your site.
That is all there is to it. If you get an error message, either you did something wrong or your server is not configured correctly. Most of the time, it is user error. Check your paths and permissions. Read on for more details on quick install.
 
For step by step, detailed installation instructions, click HERE