php - This page is not functioning properly. This request cannot be processed at this time. HTTP ERROR 500?
淡淡烟草味
淡淡烟草味 2017-07-01 09:12:20
0
3
8668

Software and environment

System: Alibaba Cloud ECS Ubuntu 16.04.2 LTS
Software: docker, lnmp image

Problem Description

When a syntax error occurs in PHP, the page appears: This request cannot be processed at this time. HTTP ERROR 500

Screenshot of question

淡淡烟草味
淡淡烟草味

reply all(3)
502 Bad Gateway

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


学习ing

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
过去多啦不再A梦

View the error log of php-fpm

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template