search

Home  >  Q&A  >  body text

php - This page is not functioning properly. This request cannot be processed at this time. HTTP ERROR 500?

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

淡淡烟草味淡淡烟草味2692 days ago8664

reply all(3)I'll reply

  • 502 Bad Gateway

    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


    reply
    0
  • 学习ing

    学习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

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-07-01 09:14:20

    View the error log of php-fpm

    reply
    0
  • Cancelreply