How to display PHP errors in code output?

后端 未结 3 2060
离开以前
离开以前 2020-12-03 00:59

When executing a PHP page through browser , we will just get the output but not the errors in code.

how can i view the errors occurred by the code in the backend??

3条回答
  •  無奈伤痛
    2020-12-03 02:00

    Inside your php.ini, set the display_errors to On:

    display_errors = On
    

    Then restart your web server.

提交回复
热议问题