Php Error Reporting even when display error is on

别等时光非礼了梦想. 提交于 2019-11-29 16:57:43
Salman

You have to use these:

display_errors = On
display_startup_errors = On
error_reporting = E_ALL 

With no ; at the start of the line. That is a comment and just disables the directive.

Edit: To use runtime configuration, just add these two lines at the beginning of your php script:

error_reporting(E_ALL);
ini_set("display_errors", 1);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!