Install Zen Cart on IIS

zencart, Install Zen Cart on IIS

zencart is a PHP-based, open-source online store management system. It uses a MySQL database and HTML components. Support is provided for several languages and currencies, and it is freely available under the GNU General Public License (GPL).

For more information about Zen Cart, visit the Zen Cart Web site.

This article describes how to install and configure Zen Cart for use with the FastCGI extension on Internet Information Services 7 (IIS 7) and above, and on Windows Server® 2008. The instructions assume that you have set up and configured the FastCGI extension and the PHP libraries. The instructions have been tested and found to work with the following software versions:

PHP 5.2.9
MySQL 5.1.34
Zen Cart 1.3.8

Download and Unpack the Application
First, download the latest stable release of Zen Cart. For this article, zen-cart-v1.3.8 was used (future versions are likely to be similar to install). Uncompress and copy all the files and folders to C:Inetpubwwwrootzencart (or another directory of your choosing).

Set Up the Database
Before starting the installation procedure for Zen Cart, you must create a database on your server. Also create a user and grant this user “db ownership” permission to the database. This article uses the following database information:

Database name: zencart
Database user: zencart
Account password: zencart
Set Up and Configure the Application
Update the Php.ini file to add the Php_mysql.dll module under the Dynamic Extensions section in the file, and ensure that the extension directory points to the correct location:

console

extension_dir = “./ext”
extension=php_mysql.dll

Note that this article uses the “/zencart” folder as an example, but this is not required. You may use another folder, or you can install Zen Cart in the “root” directory (the base of your Web site).

Create the Configure.php Files
You must create files to identify the settings of your particular server and the location of the Zen Cart files you loaded, and then change the permissions on these files.

On the server, locate the file /zencart/includes/dist-configure.php.
Rename this file to configure.php.
On the server, locate the file /zencart/admin/includes/dist-configure.php.
Rename this file to configure.php.
Change the permissions for these two files to read, execute, and write by opening a command prompt.
Browse to the C:inetpubwwwrootzencart directory.
Type icacls includesconfigure.php /grant BUILTINIIS_IUSRS:W
Type icacls adminincludesconfigure.php /grant BUILTINIIS_IUSRS:W
Type icacls cache /grant BUILTINIIS_IUSRS:W

Run the Installer
The installer automatically supplies information during installation, but you must confirm that the auto-detected answers are correct (they may differ on some servers):

Confirm the physical path to your Zen Cart directory (for example, C:Inetpubwwwrootzencart).
Go to the http://localhost/zc_install/zencart/install.php page for detailed setup instructions.
On the Welcome screen, click Continue.
At the license page, read and confirm acceptance of the GPL licensing agreement.
The installer examines your server for compliance with the technical requirements for running Zen Cart. Anything marked in red or with an “X” must be addressed before the installer can continue. Items marked with an orange or yellow caution symbol are simply warnings that may or may not apply to your setup at this point.
If you make changes to your server, click Re-Check (or press F5 in your browser) to refresh the display and reflect the changes made before proceeding.
When the system inspection is satisfactory (all green check marks), click Install at the bottom of the screen.

Install Zen Cart on IIS

Provide database information about your MySQL database, user name, and password. If you do not have a MySQL database setup with a user name and password, you must create one.

Install Zen Cart on IIS

Next, you are prompted for phpBB path information. If you have the phpBB forum software already installed on your site, enable it for connectivity and synchronization from Zen Cart by specifying the path where the phpBB files are located. (For example, if the files are located in …public_html/forums, enter /forums in the Zen Cart installer for the path to the phpBB files.)
If you do not have the phpBB forum software already installed on your site, select No.
Complete the Store information about your e-commerce shop. Except for demonstration data, all of the information can also be (re)configured later in the administrator area of your shop.
To install the demonstration data, select Yes, and then click Save Store Settings.
Complete the administrator information to set your login name, admin e-mail address, and password. Note that both the login name and password are case sensitive.
Save the administrator settings to complete installation. Providing there were no errors during installation, you can now enter the Admin or the Catalog.

After Installation
When you enter the Catalog, you receive security warnings about the Configure.php files and the /zc_install directory.

Configure.php files
Change the permissions on the Configure.php files to read and execute:

console

/zencart/includes/configure.php
/zencart/admin/includes/configure.php

Note that “zencart” is used as an example in this article; your site may or may not include “zencart” as a folder name.

Open a command prompt.
Browse to c:inetpubwwwrootzencart.
Type icacls includesconfigure.php /reset
Type icacls adminincludesconfigure.php /reset
Download a copy of these files to your computer from the server; they have been set up and configured to your server specifications based on the installation process. Most errors or problems can be corrected with minor adjustments to these two files.

zc_install directory

Delete the /zencart/zc_install directory. If you are only testing and plan to install again, rename the folder (for example, /catalog/zc_install_complete) until you take your site live.

Note that it is better to use a name other than zc_install_complete; some hackers may try to use it if they have read this help file.

For security reasons, do not leave a zc_install folder on the server of a live site.

job posting sites
joomla web development company
matrimony website design
real estate website design
restaurant website
School management system
social websites
travel websites
wordpress website development

Corundum
Logo
Register New Account
Reset Password
Compare items
  • Total (0)
Compare
0