![]() |
|
|
||||
|
Another Option is with Fast CGI:
I found Shane's instructions a bit confusing if you are not a guru, so i have written this guide to help others get FastCGI working on IIS: Make sure you have PHP 4.3.x or later installed. Earlier versions of PHP require extra work to get FastCGI working. This example assumes your cgi application is located in c:\php\php.exe. Download http://www.caraveo.com/fastcgi/fastcgi-0.6.zip and unpack isapi_fcgi.dll to c:\php\isapi_fcgi.dll. Create the following registry key with regedit.exe: HKEY_LOCAL_MACHINE:Software\FASTCGI\.php Then add to this key the following values: AppPath = c:\php\php.exe BindPath = php-fcgi Alternatively, you can download and run the sample registry file fastcgi.reg. You might want to change the AppPath of the sample. Add the application mappings extensions you want to be sent to the fastcgi dll using the IIS configuration screens. To do so: From the Internet Service Manager (MMC), select the Web site or the starting point directory of an application. Open the directory's property sheets (by right clicking and selecting properties), and then click the Home Directory, Virtual Directory, or Directory tab. Click the Configuration button, and then click the App Mappings tab. Click Add, set the file extension to .php, and in the Executable box, type: c:\php\isapi_fcgi.dll, and check the Check that file exists checkbox and save the mapping. Do the same for similar extensions such as .php3 or .phtml. Then save all changes and restart the web-server. To test, request for multiple web pages at the same time, and observe the processes in the Task Manager. After the web requests complete, the php.exe processes will continue running. Then add the info in the Web Services Extension and set to Allow |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|