First, the PHP compression package (here to PHP4.3.2 for example) extracted to the C:php-4.3.2-win32 directory, and then found a file called php.ini-recommended, renamed him to PHP.ini.
Second, open the file, find Extension_dir = "./", change it to Extension_dir = "c:php-4.3.2-win32extensions"; find Session.save_path =/tmp and change it to SES Sion.save_path = c:php-4.3.2-win32sessions. ( Note: At this point you need to create a sessions folder in the C:php-4.3.2-win32 directory to hold the session.) )
Copy the modified php.ini file to the C:winnt directory and copy the Php4ts.dll file under C:php-4.3.2-win32 to the C:winntsystem32 directory.
Open "Internet Service Manager", select the site you want to support PHP, open the property page, click on the "ISAPI Filter" tab, click "Add", in the "Filter Properties" window of the pop-up "filter name" to fill "php", in the "Executable file" to fill in "C: Php-4.3.2-win32sapiphp4isapi.dll "(one shown), click OK.
Five, click on the "Home Directory" tab, select "Application Settings" in the "Configuration" button, in the pop-up "Application Configuration" window, click on the "Add" button, in the "Add/Edit Application Extension Mapping" window, "the executable file" in the "C: Php-4.3.2-win32sapiphp4isapi.dll "," extension "to fill in" PHP ". (as shown in two).
OK, everything's done, restart IIS, write a phpinfo in your page file directory, and test to see if the PHP file can be parsed correctly. If you generate a 500 error, make sure you haven't forgotten the third step.
Figure 1
Figure 2
http://www.bkjia.com/PHPjc/531663.html www.bkjia.com true http://www.bkjia.com/PHPjc/531663.html techarticle first, the PHP compression package (here to PHP4.3.2 for example) extracted to the C:php-4.3.2-win32 directory, and then found a file called php.ini-recommended, renamed him to PHP.ini. ...