System: Alibaba Cloud ECS Ubuntu 16.04.2 LTS
Software: docker, lnmp image
When a syntax error occurs in PHP, the page appears: This request cannot be processed at this time. HTTP ERROR 500
502 Bad Gateway2019-09-23 15:23:33
500 error is probably a problem with the php code
error_reporting(“E_ALL”)
ini_set(“display_errors”, “on”)
Add these two items Code
Let the errors be exposed
Then check them one by one based on the error information
学习ing2017-07-01 09:14:20
Due to the error display closing in the php.ini configuration file.
Change the lower value from Off to On
display_errors = On
display_startup_errors = On