Install PHP in FastCGI mode on IIS5.1/6

Source: Internet
Author: User
Tags vc9
1 download required software APHP5.3.6 (VC9x86ThreadSafe): windows. php. netdownload can download the zip version or the EXE version. The configuration of the Exe version is easy. I downloaded the exe version BMicrosoftFastCGIExtensionforIIS5.1and6.0: www. iis. netdown

1 download the required software A PHP5.3.6 (VC9 x86 Thread Safe): http://windows.php.net/download/ can download zip version can also download EXE version, Exe version configuration to save time, I downloaded exe B Microsoft FastCGI Extension for IIS 5.1 and 6.0: http://www.iis.net/down

1. Download Required Software

A PHP5.3.6 (VC9 x86 Thread Safe)

: Http://windows.php.net/download/

You can download the zip version or the EXE version. It is easy to configure the Exe version. I downloaded the exe version.

B Microsoft FastCGI Extension for IIS 5.1 and 6.0

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

2Install

A firstInstallMicrosoft FastCGI Extension, no Configuration

B againInstallPHP 5.3.6. Remember to select IIS FastCGI for the Web Server option, because the latest PHP does not support ISAPIInstall. NOTE: For the downloaded zip file, you need to manually set it:

B .1 change the PHP environment variable to the new PHP EnvironmentInstallDirectory, such as d: \ bin \ php
Add a new directory after the path variable (this may not be required)

B .2 For more information about php. ini, see http://cn.php.net/manual/zh/install.windows.manual.php.

3 configure FastCGI extension to work with PHP

Method 1: use scripts for automatic configuration.

Enter the "% WINDIR % \ system32 \ inetsrv" directory in the CMD command line and execute the following command:

Cscript fcgiconfig. js-add-p: "PHP"-extension: php-path: "C: \ PHP \ php-cgi.exe"

Cscript fcgiconfig. js-add-p: "PHP"-extension: php-path: "C: \ PHP \ php-cgi.exe"-site: 1

Just found someone has written, connection: http://hi.baidu.com/usen68/blog/item/8a3a4c111df6f718b8127b45.html

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.