我昨天看了,已经考过去了。但是就是那个错 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.将php.ini-dist文件改名为php.ini,然后把这个文件放到你的'winnt/'目录下。将php4ts.dll文件放到'winnt/system32'目录下。
2.然后修改php.ini,具体的配置见install.txt,如果遇到实际的问题,再过来问吧。
修改extension_dir=./成为extension_dir=c:\winnt\system32
extension=php_zip.dll,extension=php_ldap.dll前面的“;”去掉。
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.