|
主题: 本机调试PHP的问题
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#12002/8/6 11:41:58
请问要在本机上调试PHP,除了装PWS,还要下载PHP解释器是吗?
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#22002/8/6 11:44:42
在哪有下?
|
5D荣誉斑竹
职务:普通成员
等级:2
金币:1.0
发贴:400
|
#32002/8/6 13:08:33
php.net
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#42002/8/6 14:16:01
已经下了,但不会用啊,我得PWS也正确安装了,可以在本机调试ASP程序了,但PHP的不会用,具体怎么弄,教教我,谢谢
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#52002/8/6 16:52:18
网上找了几篇教学文章,照做了,可是出现下列错误信息,高手快看看,怎么回事?谁在本机调试成功的,帮帮兄弟吧 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.
|
fancyren
职务:普通成员
等级:1
金币:0.0
发贴:100
|
#62002/8/6 17:56:11
为什么不用win2000的IIS呢?
|
dalen
职务:普通成员
等级:1
金币:0.0
发贴:41
|
#72002/8/7 15:17:11
我用WIN2000的配置了PHP,在IE中调试PHP文件时也会出现这种情况,即显示:
ecurity 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.
有哪位高手帮忙解答啊?不胜感激……
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#82002/8/7 18:41:54
高手帮帮忙啊,这没人在本机调试成功过吗,我的是98
|
5D荣誉斑竹
职务:普通成员
等级:2
金币:1.0
发贴:400
|
|
dalen
职务:普通成员
等级:1
金币:0.0
发贴:41
|
#102002/8/8 10:21:38
felixding你好:请问你是怎么配置的呢?是WINME/WIN98还是WIN2000啊,现在PHP因为重大安全漏洞发布新版本4.2.2,你升级了吗?
|
5D荣誉斑竹
职务:普通成员
等级:2
金币:1.0
发贴:400
|
#112002/8/8 11:56:31
98/2000都有,98我用apache,2000/xp下用iis. 配置方法我上面的网址里面有,看看吧 没有升级,自己调试程序,搞那么复杂没用阿,能运行就行.有时候我还用php3呢,呵呵
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#122002/8/8 14:25:16
晕啊,版主老大,我装了APache2.0.39,可还是不能用啊,启动Apache sever Monitor后,在任务栏右下角有一小图标,鼠标移上去的时候显示“no services installed”,双击打开时,里面只有OK和EXIT是亮的,start,stop和restart都是暗的,service status栏是空白的。如果直接在“开始-程序”里选择“start apache in console”,那么就跳出一个dos窗口,就一个光标在闪烁,什么也没有,怎么回事,快帮我啊!!!!!
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#132002/8/8 14:31:43
你上面给的连接里根本就没有98下apache+php的安装吗
|
chaojijing
职务:普通成员
等级:1
金币:0.0
发贴:62
|
#142002/8/8 18:07:47
瞎猫碰到死老鼠,我好像能在本机调试PHP程序了(Apache+PHP+98)
|
5D荣誉斑竹
职务:普通成员
等级:2
金币:1.0
发贴:400
|
#152002/8/9 8:42:20
呵呵,别急,多试几次就好了
|