Install PHP using ISAPI.
Download link: http://cn2.php.net/get/php-4.4.0-Win32.zip/from/cn.php.net/mirror
ISAPI method is the most efficient PHP execution method under IIS in WIN system. Highly recommended.
After decompressing PHP, first find php.ini-dist
Remove -dist to display it in text mode.
Open PHP.INI and make slight modifications. Use the search method to find TMP. After finding ./TMP, change the path to C:/TMP
Then create a new TMP folder on the C drive
After everything is done, copy PHP. INI and php4ts.dll are placed in the WINNT/SYSTEM32 folder on the C drive.
OK The first step is done. Then set up IIS
Open IIS, right-click under the server name (the row with a small computer mark) and select Properties, Edit, ISAPI Filter
knowsky.com
Then select Add.
Filter name input: PHP
Executable file selection: php-4.4.0-Win32sapiphp4isapi.dll
Note that you must use php4isapi.dll instead of PHP.EXE. Because using PHP.EXE is the CGI method and occupies the process, php4isapi.dll is the ISAPI method.
Then add PHP permissions to a single website (note that PHP permissions must not be the default settings, unless you decide to give each website PHP permissions. Otherwise it is very dangerous)
Open IIS, right-click on the address you want to give permission to, and then select Properties, Home Directory, Configuration.
Then select Add.
Executable file input: .php
Lu Jin: php-4.4.0-Win32sapiphp4isapi.dll
OK The PHP permissions supporting ISAPI mode are ready. . . . . . .