到php.net下一个php for windows的版本 装上就可以使用了 估计你是php没有装好 是不是提醒你是否下载这个页面? 不是这么安装的话需要在iis中指定解析.php后缀的php.exe的位置
哦,我是按照在2000下安装的方法安装的。 我运行php目录下的go-pear文件,随后按照它的要求做,但是在第三步出现: WARNING! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: <C:\php4\pear> If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working. 和最后 WARNING! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: <C:\php4\pear> If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working. 情帮帮忙。分不够可以家!
运行http://localhost/index.php3时报错: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. 怎么回事呀?
我就是按照安装说明操作的,但是现在检查不出问题。
iis下配置的目录和D:\Inetpub\wwwroot(操作系统在D:)是不是要一致啊?
能不能自建文件夹?
装上就可以使用了
估计你是php没有装好
是不是提醒你是否下载这个页面?
不是这么安装的话需要在iis中指定解析.php后缀的php.exe的位置
我运行php目录下的go-pear文件,随后按照它的要求做,但是在第三步出现:
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
<C:\php4\pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.
和最后
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
<C:\php4\pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.
情帮帮忙。分不够可以家!
必须通过输入http://服务器名称/文件名
这样来看,否则不能解析PHP代码。
doc_root = c:\inetpub\wwwroot\ 服务器的主目录
extension_dir = c:\php4\extensions\ 扩展文件的目录
但是还是不行呀。
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.
怎么回事呀?
你把你的PHP的目录中的PHP。EXE给EVERYONE执行权限应该就可以拉!
建议你使用ISAPI的方式,这样够快!
你要把php4ts.dll COPY到你的系统目录中去,然后在过滤器中设置为C:\PHP\sapi\php4isapi.dll.
又好配又好用.