在win32平台下装php5,安装文件带的install.txt中关于以
cgi方式安装php5(
PHP Version 5.0.0RC1)是这么写的:
Installing
PHP for Apache as CGI binary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you wish to install PHP as a CGI binary, read this first:
http://www.cert.org/advisories/CA-1996-11.html
and then if you are really sure, insert these lines to your conf file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
事实上我这样装不行,应该把最后一行改为:
Action application/x-httpd-php "/php/php-
cgi.exe"
在php文件夹下能找到php-cgi.exe这个文件.以cgi方式得用这个.
不知道怎么回事,官方install.txt居然会出错!害人. :D
希望这篇
的文章能够对您有所帮助,如果您觉得这篇网站维护教程有用的话,别忘了推荐给您的朋友哦!如果您有好的经验方法,不妨拿出来和大家一起分享:假如每个人都拿出一个经验,那么我们都将额外的获取一堆他人的经验。
请记住本站永久域名:(黑客防线网安服务器维护方案维护基地)Www.Rongsen.Com.Cn