ExpressionEngine on IIS
by Eric Woersching
Introduction
ExpressionEngine is a flexible, feature-rich content management system that empowers thousands of individuals, organizations, and companies around the world to easily manage their websites.
For more information about ExpressionEngine, see http://ExpressionEngine.com/.
In this section, we go through the steps that are required to install ExpressionEngine to work with FastCGI extension on IIS 7.0 and above, and Windows ServerĀ® 2008. 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 in https://www.iis.net/fastcgi/phpon60.
Download and Unpack ExpressionEngine
First, download the latest stable release of the ExpressionEngine application. For this article, we use ExpressionEngine (EECore1.6.1). Download the full package from the mirror https://secure.expressionengine.com/download.php?ACT=agreement&id=34.
Once you download the package, uncompress it and copy the files and folders to C:\Inetpub\wwwroot\eecore
.
Set Up the Database
Before starting the installation procedure for ExpressionEngine, create a database on your 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: 'expressionengine'
- Database User: 'eemsuser'
- Account Password: 'eems'
Set Up and Configure ExpressionEngine
Installation information and setup information documents are available at https://expressionengine.com/.
Follow these steps:
Rename the "eecore\System" folder to "eecore\microsoftsystem". This increases security by keeping the directory containing your ExpressionEngine backend files hidden from public access.
Delete the following file and directory. They upgrade from the previous version.
- Eecore\microsoftsystem /update.php --- Delete this file
- Eecore\microsoftsystem/updates --- Delete this folder
Provide all permissions to the IIS user for the following folders:
Run the Installation Script
Inside the root directory, you find a file called install.php. Browse to the install using http://localhost/eecore/install.php
. This runs a script which configures your database and sets up the default site. Be sure that you access the file through your webserver and not by loading the file into your web browser locally.
Click the "Click Here to begin" button to start installation
Provide a name for the folder, which you renamed from System. Click Submit.
Provide the details of your database: Admin username, password, time zone, etc. Click install ExpressionEngine.
You see the confirmation screen for a successful installation.
Login to the Control Panel using the Admin username and password.
The following are some screenshots of ExpressionEngine after it is up and running on IIS.
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