|
主题: php安装问题
|
 月幻
职务:普通成员
等级:1
金币:0.0
发贴:35
|
#12002/11/11 22:58:10
安装php-4.0.6-Win32成功 安装php-4.2.3-Win32.zip后出现问题...
Security Alert! The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
请指教~
|
 月幻
职务:普通成员
等级:1
金币:0.0
发贴:35
|
#22002/11/11 23:01:17
对了~~
我现在想安装php-4.2.0....因为我租的虚拟主机上是这个版本的..
在PHP.NET找不到...请大家直接提供一下下载地址。。 最好有安装说明哦~~~:)
|
 helmet
职务:版主
等级:4
金币:10.0
发贴:1559
|
#32002/11/12 3:24:32
找不到了?http://www.php.net/downloads.php
|
 prettypretty
职务:普通成员
等级:1
金币:0.0
发贴:39
|
#42002/11/19 1:32:43
在 php.ini 文件中搜索 cgi.force_redirect = 1 将前面的 ; (分号)去掉,应该就可以了... hurray ! 但据说这样会不安全,所以只适合于本机测试和调试
|
 月幻
职务:普通成员
等级:1
金币:0.0
发贴:35
|
#52002/11/19 20:55:38
没办法...只能换回php-4.0.6了...
php-4.2.0....下后竟然缺少php.exe..
汗...
|