当前位置:网站首页>PHP returns 500 errors but no error log - PHP return 500 error but no error log

PHP returns 500 errors but no error log - PHP return 500 error but no error log

2022-07-03 17:31:00 Zafo

problem :

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. When I have an internal server error returned (500) Of php When the application does not show anything in the error log , I have a problem .

Now I know there are error with what I am trying to run, I know I have missing some files and what not but something should show in the apache error log (otherwise how are I supposed to know exactly what I am missing). Now I know that there is an error in the content I am trying to run , I know I lost some files , But some files should be displayed in apache In the error log ( Otherwise, how can I know exactly what I have lost ).

I created a test script is errors it in under the same vhost configuration and those error show up fine so everything seems configured right as far as php/apache. I created a test script , In the same vhost Error under configuration , These errors display normally , So php/apache for , Everything seems to be configured correctly .Are there certain php errors that does show up in the error log (php is configure to display any type of notice, warning, , error, fatal error, etc...)? Whether some... Are displayed in the error log php error (php Configured to display any type of notification 、 Warning 、 error 、 Fatal error, etc ...)?

This is running on ubunut 10.04 with the standard apache and php from the ubuntu repo with apt-get. This is ubunut 10.04 Running on , Use apt-get Of ubuntu Standards in the repository apache and php.


Solution :

Reference resources : https://stackoom.com/en/question/Tzmw
原网站

版权声明
本文为[Zafo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202150337015635.html

随机推荐