要在IIS6上使用高版本PHP,必须安装fastCGI扩展,

       Microsoft FastCGI Extension for IIS 5.1 and 6.0

        然后让你的IIS6支持fastCGI即可。

  然后设定一下php.ini中的CGI and FastCGI参数:

  fastcgi.impersonate = 1

  fastcgi.logging = 0

  cgi.fix_pathinfo=1

  cgi.force_redirect =0

  cgi.rfc2616_headers=1

  然后制作一个批处理文件,运行一下代码:

  c %windir%\system32\inetsrv\fcgiconfig.js -add -section:"PHP" ^

  -extension:php -path:"C:\PHP\php-cgi.exe"

  将C:\PHP\php-cgi.exe替换成自己的安装路径!

  如果你在使用phpMyadmin 3.1.0rc版,需要将.libraries/select_lang.lib.php 则需要将147,148行的

  if (($envType == 1 && eregi('^(' . $expr . ')(;q=[0-9]\\.[0-9])?$', $str))

  || ($envType == 2 && eregi('(\(|\[|;[[:space:]])(' . $expr . ')(;|\]|\))', $str))) {

  更换为:

  if (($envType == 1 && preg_match('^(' . $expr . ')(;q=[0-9]\\.[0-9])?$', $str))

  || ($envType == 2 && preg_match('(\(|\[|;[[:space:]])(' . $expr . ')(;|\]|\))', $str))) {

  否则会报错:

  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)

  另外注意:在IIS上安装PHP5.3.1,官方推荐Non-thread-safe build of PHP

  下载地址:

  PHP for Windows: Binaries and Sources Releases.

  详细介绍:http://www.php.net/manual/en/install.windows.iis6.php

标签:
PHP5.3,ISAPI

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
金钱帮资源网 Copyright www.kbjia.com

评论“PHP5.3.1 不再支持ISAPI”

暂无“PHP5.3.1 不再支持ISAPI”评论...

P70系列延期,华为新旗舰将在下月发布

3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。

而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?

根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。