Open a command prompt, and run the following command to verify that PHP installed successfully: C:\PHP>php –info Typically, for PHP 5.2.X the value would be set as extension_dir = "./ext"Įnable the required PHP extension by un-commenting the corresponding lines, for example: Set extension_dir to point to the location where the PHP extensions are located. Set open_basedir to point to the folder or network path where the content of the Web site(s) is located. Setting this value to 1 will cause PHP CGI to fix its paths to conform to the specifications. For more information about PATH_INFO, see the cgi specifications. Previously, PHP behavior was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not define PATH_INFO. cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. This allows IIS to define the security context that the request runs under. FastCGI under IIS supports the ability to impersonate security tokens of the calling client. Uncomment and modify the settings as follows: Rename the php.ini-recommended file to php.ini. Unpack the files to the directory of your choice (e.g.
To install PHPĭownload the latest non-thread safe zip package with binaries of PHP. A non-thread safe build of PHP provides significant performance gains over the standard build by not doing any thread-safety checks, which are not necessary, since FastCGI ensures a single threaded execution environment. It is recommended that you use a non-thread safe build of PHP with IIS FastCGI. Administration Pack for IIS 7 and Above - 圆4.Administration Pack for IIS 7 and Above - x86.The Administration Pack can be installed from the following locations:
Update for Windows Vista SP1 for 圆4 based SystemsĪmong other useful features, the Administration Pack for IIS has a convenient user interface for configuring FastCGI settings.Update for Windows Server 2008 for Itanium-based Systems.
This article provides instructions on how to install and use the FastCGI component on Windows Server 2008 and Windows Vista SP1.