To use a higher version of PHP on IIS6, the fastCGI extension must be installed. OMicrosoft Fastcgi Extension for IIS 5.1 and 6.0
Then let your IIS6 support FastCGI.
Then set the CGI and FastCGI parameters in php.ini: fastcgi.impersonate = 1 fastcgi.logging = 0 cgi.fix_pathinfo=1 cgi.force_redirect =0 cgi.rfc2616 _headers= 1 Then make a batch file and run the code: c %windir%system32inetsrvfcgiconfig.js -add -section:"PHP" ^ -extension:php -path:"C:PHPphp-cgi.exe" Replace C:PHPphp-cgi.exe with your own installation path! If you are using phpMyadmin version 3.1.0rc and need to change .libraries/select_lang.lib.php, you need to change lines 147 and 148 if (($envType == 1 && eregi('^(' . $expr . ')(;q=[0-9]\.[0-9])?$', $str)) || ( $envType == 2 && eregi('((|[|;[[:space:]])(' . $expr . ')(;|]|))', $str))) { Replace with : if (($envType == 1 && preg_match('^(' . $expr . ')(;q=[0-9]\.[0-9])?$', $str))|| ($envType == 2 && preg_match('((|[|;[[:space:]])(' . $expr . ')(;|]|))', $str))) { An error will be reported: in .librariesselect_lang.lib.php#147 eregi() is deprecated Backtrace .librariesselect_lang.lib.php#147: eregi() .libraries select_lang.lib.php# 81: PMA_langDetect( string zh-cn, integer 1, ) .librariesselect_lang.lib.php#361: PMA_langCheck() .librariescommon.inc.php#560: require_once(.librariess elect_lang.lib .php) .index.php#34: require_once(.librariescommon.inc.php) Also note: Install PHP5.3.1 on IIS, the official recommendation is Non-thread-safe build of PHP Download address:
PHP for Windows: Binaries and Sources Releases.
Detailed introduction:http://www.php.net/manual/en/install.windows.iis6.php
The above introduces php5 PHP531 no longer supports ISAPI, including php5 content. I hope it will be helpful to friends who are interested in PHP tutorials.