To use a high version of PHP on IIS6, you must install the fastcgi extension,
Microsoft 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%\system32\inetsrv\fcgiconfig.js-add-section: "PHP" ^
-extension:php-path: "C:\PHP\php-cgi.exe"
Replace the C:\PHP\php-cgi.exe with your own installation path!
If you are using the phpMyAdmin 3.1.0RC version, you will need to libraries/select_lang.lib.php the 147,148 line
if ($envType = = 1 && eregi (' ^ ('. $expr. ') (; q=[0-9]\\. [0-9])? $ ', $str))
|| ($envType = = 2 && eregi (|\[|; [[: Space:]] ('. $expr. ') (; |\]|\)) ', $str))) {
Replaced by:
if ($envType = = 1 && preg_match (' ^ ('. $expr. ') (; q=[0-9]\\. [0-9])? $ ', $str))
|| ($envType = = 2 && preg_match (|\[|; [[: Space:]] ('. $expr. ') (; |\]|\)) ', $str))) {
Otherwise there will be an error:
In. \libraries\select_lang.lib.php#147
Eregi () is deprecated
BackTrace
. \libraries\select_lang.lib.php#147:eregi ()
. \libraries\select_lang.lib.php#81:pma_langdetect (
String ZH-CN,
Integer 1,
)
. \libraries\select_lang.lib.php#361:pma_langcheck ()
. \libraries\common.inc.php#560:require_once (. \libraries\select_lang.lib.php)
. \index.php#34:require_once (. \libraries\common.inc.php)
Also note: Install PHP5.3.1 on IIS, officially recommended 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