CubeCart on IIS

by Eric Woersching


CubeCart is a powerful eCommerce script written with PHP and MySQL. With CubeCart, you can setup a powerful online store with hosting that supports PHP and one MySQL database.

For more information about CubeCart, see

In this section, we go through the steps required to install CubeCart to work with FastCGI extension on IIS 7.0 and above. To find out more about FastCGI support in IIS, see

The following steps assume that you have completed the setup and configuration of FastCGI extension and PHP libraries as described here

Download and Unpack the CubeCart

First you will need to download latest stable release of CubeCart application. For this article we used CubeCart_3.0.17 Full Package that can be downloaded from the mirror,5

Once you downloaded the package, uncompress it and copy files and folders to C:\Inetpub\wwwroot\cubecart.

Set Up the Database

Before starting the installation of CubeCart, create a database on your database server. Also create a user and grant this user db ownership permission to the database. Follow the instructions in the Setting Up a Database for a PHP Application on IIS article for a MySQL database. This walkthrough uses the following database information:

  • Database Name: 'cubecart'
  • Database User: 'cubecart'
  • Account Password: 'cubecart'

Setup and Configuration

Follow these steps:

  1. Go to to generate the configuration setup script after creating the database for the project.

  2. Click Continue to go to the next step.

  3. Provide the database details and click Continue. We used the following details for our application:

    • Database Type: MySql

    • Host Name: localhost

    • Username: cubecartuser

    • Password: cubecart

    • Database: cubecart

      It generates 2 files:

    • - Open includes/ and paste in the code created for you.

    • db.sql - Execute the sql queries generated for you.

  4. Give write access permissions to images/upload folder.

  5. Delete the install folder from the directory before accessing the installed application.

Installation is complete. Access the application by browsing the index.php file using the path http://localhost/cubecart/index.php.

Getting More Information

To discuss the FastCGI Extension for IIS 6.0, or file bug reports, please use the FastCGI forums:

To get more information regarding running various PHP applications on IIS, refer to: