[PUT PATH HERE]\php.exe 修改成 c:\PHP\php.exe 调试 <? phpinfo() ?> 显示: 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.
可能是在php.ini中还得有一些改过.你把错误的信息给出看看改那一项.
http://www.php2000.com/setup.phphttp://www.php2000.com/install_php/win2000_iis5_cgi.htm试试吧,应该行的
像 MeE(巴顿) 说的仅仅添加一个程序映射就好了, 扩展名.php 指向php.exe
建议使用module模式安装!我直接装完了就可以用了
--------------------------
本,机调试php显示您要访问的网页中存在程序问题,因些此页无法显示.
---------------------------
问题出在哪?
所以WIN2K下用我还是用apache+php调PHP
http://www.php.net/do_download.php?mr=http%3A%2F%2Fcn.php.net%2F&df=php-4.2.2-Win32.ziphttp://www.mysql.com/downloads/download.php?file=Downloads/MySQL-Max-3.23/mysql-max-3.23.52-win.zip&download=http://mysql.holywar.net/Downloads/MySQL-Max-3.23/mysql-max-3.23.52-win.zip先安装mysql
安装后运行c:\mysql\bin\mysqld-nt.exe -- install
执行c:\mysql\bin\winmysqladmin.exe在控制面板——管理工具-Internet 服务管理器—默认web站点:属性在iis筛选器中添加 筛选器名称php 可执行文件c:\php\php4ts.dll
主目录中选所有单选框 ;配置中添加可执行文件E:\php\php.exe %s %s
后缀.php3
文档中添加index.php index.htm
http://fateam.8u8.com/images/01.jpg
调试php:
http://fateam.8u8.com/images/02.jpg
[PUT PATH HERE]\php.exe
修改成
c:\PHP\php.exe
修改成
c:\PHP\php.exe
调试
<?
phpinfo()
?>
显示:
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.