(Original article, not unauthorized deletion of this statement or change the content of the article without authorization, please indicate the source.)
1. Copy php.ini-dist to the Winnt directory and more pHP.ini, modify the two settings in php.ini to doc_root = c: / inetpubextension_dir = "C: / PHP / EXTENSIONS"
2. Copy MSVCRT.DLL and PHP4TS.DLL to WinNT / System32 directory
3. Add ISAPI Filters in the ISAPI Filter tab of "Default Web Site Properties" in Internet Information Services:
See the figure "Add a PHP Interpreter"
4. In the "Default Web Site Properties" in "Internet Information Services", click the "Configuration" button to add "application mapping" for PHP files:
See the picture "Application Map"
5. Test if the PHP work is normal, use the following command:
(1) Stop IIS: Net Stop Iisadmin (2) Restart IIS: Net Start W3SVC (3) New Test.php in the root of the Web Server Documentation and use IE browsing, Test.php files contain the following:
php phpinfo ()?>