CubeCart on IIS
by Eric Woersching
Introduction
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 http://www.cubecart.com.
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 https://www.iis.net/fastcgi
The following steps assume that you have completed the setup and configuration of FastCGI extension and PHP libraries as described here https://www.iis.net/fastcgi/phpon60.
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
https://www.cubecart.com/site/helpdesk/index.php?_m=downloads&_a=view&parentcategoryid=1&pcid=5&nav=0,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:
Go to https://www.cubecart.com/build to generate the configuration setup script after creating the database for the project.
Click Continue to go to the next step.
Provide the database details and click Continue. We used the following details for our application:
Give write access permissions to images/upload folder.
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:
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for