PHP5.3.1 不再支持ISAPI
php  /  管理员 发布于 8年前   230
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您可能感兴趣的文章:
test1 在
opencode + Oh-my-openagent,我的第一个免费的ai编程智能体管家:Sisyphus中评论 test..122 在
学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..Zita 在
Google AI Studio升级全栈 vibe coding体验,可直接构建带登录和数据库的应用中评论 111222..123 在
Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..原梓番博客 在
在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..
Copyright·© 2019 侯体宗版权所有·
粤ICP备20027696号
