常见问题:
1、不能启动MYSQL?
你可以在mysqld-max.exe、mysqld-max-nt.exe、mysqld-nt.exe、mysqld-opt.exe这几个文件试,本人推荐mysql-max-nt最为好用。
2、出现如下错误:
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安装为IIS的CGI方式就会出现的错误。
解决方法:修改php.ini将cgi.force_redirect设为0,然后重起IIS。
3、出现如下错误:
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
此错误就是将PHP安装为IIS的ISAPI方式就会出现的错误。
解决方法:同上,修改php.ini将cgi.force_redirect设为0,然后重起IIS。
当然出现这种情况还有未知的原因,一般重新启动一下就好了,因为将PHP安装为IIS的ISAPI方式还不是很稳定。