内部服务器错误和errordocument

时间:2013-10-18 22:06:42

标签: php

在我的网站中,如果我尝试通过链接到文件php(仅在此链接中,其他工作正常)出现此错误:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete    
your request.

Please contact the server administrator, webmaster@****.com and inform them of 
the time the error occurred, and anything you might have done that may have caused the   
error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an  
ErrorDocument to handle the request.

1 个答案:

答案 0 :(得分:1)

启用PHP错误记录到日志文件 - https://stackoverflow.com/a/3531852/1603275

然后查看详细信息以确定错误来源。