Install php5.3 vc9 non thread safe in Windows IIS FastCGI

Source: Internet
Author: User
Tags vc9

(1) Prepare the Installation File

1. FastCGI http://www.iis.net/expand/FastCGI

2. php http://windows.php.net/download/

3. Visual C ++ 2008 redistributable package

Http://www.microsoft.com/downloads/details.aspx? Familyid = 9b2da534-3e03-4391-8a4d-074b9f2bc1bf & displaylang = ZH-CN

4. Windows cache extension for PHP

Http://www.iis.net/download/WinCacheForPHP

 

(2) Start Installation

1. Install FastCGI first. Follow the prompts to install FastCGI. After installation, FastCGI handle service extension will appear.

Open fcgiext. ini in the c: \ windows \ system32 \ inetsrv directory

Add under [Types]

PHP = PHP

[PHP]

PHP path should be changed according to your own situation

Exepath = D: \ progra ~ 1 \ PHP \ php-cgi.exe

Open IIS, right-click the website, and choose "home directory"> "Configure ing"> "add ".

Executable File: c: \ windows \ system32 \ inetsrv \ fcgiext. dll

Extension:. php

2. The next step is to install PHP. Here we will talk about the zip version. You can skip this step.

Decompress php-5.3.2-nts-win32-vc9-x86.zip to a directory. Here I use "D: \ Program Files \ PHP"

Copy PHP. ini-development or PHP. ini-production and rename it to PhP. INI (Note: PHP. INI can be directly stored in the PHP Directory without moving it)

Modify parameters:

Extension_dir = "Ext"

CGI. force_redirect = 0

FastCGI. Impersonate = 1;

Date. timezone = Asia/Shanghai

Date. default_latitude = 31.7667

Date. default_longpolling = 121.4500

3. Visual C ++ 2008 redistributable package is the PHP version of VC support library. vc9 needs to be installed. Follow the prompts to "Next ".

4. Windows cache extension for PHP is an extension module that improves execution efficiency. decompress the package and copy it to D: \ progra ~ 1 \ PHP \ ext directory. Add the following at the end of PHP. ini:

[Php_wincache]

Extension = php_wincache.dll

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.