PHP not displaying errors even though display_errors = On

前端 未结 17 1670
面向向阳花
面向向阳花 2020-12-13 01:31

I have a Ubuntu server running Apache2 with PHP 5. In the php.ini I set display_errors = On and error_reporting = E_ALL | E_STRICT, but PHP is st

17条回答
  •  独厮守ぢ
    2020-12-13 02:28

    Check the error_reporting flag, must be E_ALL, but in some release of Plesk there are quotes ("E_ALL") instead of (E_ALL)

    I solved this issue deleting the quotes (") in php.ini

    from this:

    error_reporting = "E_ALL"
    

    to this:

    error_reporting = E_ALL
    

提交回复
热议问题