php return 500 error but no error log

后端 未结 12 1320
挽巷
挽巷 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 05:52

    Maybe something turns off error output. (I understand that you are trying to say that other scripts properly output their errors to the errorlog?)

    You could start debugging the script by determining where it exits the script (start by adding a echo 1; exit; to the first line of the script and checking whether the browser outputs 1 and then move that line down).

提交回复
热议问题