http://hi.baidu.com/newsteng/item/f31af03f97fbdd6a7c034ba5

关于FastCGI下PHP无法显示错误信息的问题的解决办法
在IIS+FastCGI中配置PHP后,如果php源文件中存在错误,则不论是什么错误,FastCGI都会返回内部服务器错误500的信息,这给程序调试带来了麻烦。解决这个问题的办法如下:
    打开PHP的配置文件php.ini,并做如下配置修改:
    fastcgi.logging = 0 
    log_errors = On
    error_reporting = E_ALL 
    error_log = "C:\Windows\Temp\php-errors.log"
    需要确保"C:\Windows\Temp"就是系统Temp路径,这样以来如果是PHP组件出现错误,就可以在C:\Windows\Temp\php-errors.log文件中看到错误提示,如果PHP的warning或notice则在浏览器中会看到详细出错信息并且在php-errors.log文件中也可以看到出错信息了。

#服务器


Peace感悟:

之前配置的环境,一旦遇到 warning或notice,浏览器只显示这个错误信息,其它内容不显示了。


不行再来几行:
display_errors = On
html_errors = On 
见:
http://tieba.baidu.com/p/2064856675