Php not reporting any errors on IIS7

百般思念 提交于 2019-12-04 09:53:25

It's probably good to have it turned off on a production server. You can always turn error logging on, if they'll give you access to the log file.

But for a quick fix, you can just turn display_errors on. Just remember to turn it off and set up logging when you're done getting the code configured to run on the client's server.

<?PHP
ini_set('display_errors',true);

try

ini_set("display_errors", 1);

It's possible this is turned off.

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