php return 500 error but no error log

后端 未结 12 1316
挽巷
挽巷 2020-11-30 05:29

I am having an issue when I have a php application that is returning an internal server error (500) however nothing is showing up in the error log.

Now I know there

12条回答
  •  無奈伤痛
    2020-11-30 06:09

    Scan your source files to find @.

    From php documentation site

    Currently the "@" error-control operator prefix will even disable error reporting for critical errors that will terminate script execution. Among other things, this means that if you use "@" to suppress errors from a certain function and either it isn't available or has been mistyped, the script will die right there with no indication as to why.

提交回复
热议问题