为什么PHP仍然显示错误? [英] Why is PHP still displaying errors?

查看:120
本文介绍了为什么PHP仍然显示错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

近日升级到PHP 5.3已经导致去preciation错误摆在我的网页被显示。在php.ini我的display_errors关闭,把error_reporting = E_ALL ^​​ E_DE preCATED,但错误仍然显示。想法?

Recently upgrading to PHP 5.3 has resulted in a slew of depreciation errors being shown on my pages. In php.ini I have display_errors off and error_reporting = E_ALL ^ E_DEPRECATED, but the errors still show. Ideas?

推荐答案

您的脚本可以进行不同的设置错误报告级别。在那的有问题的页面的最后preferably运行:

Your script could be setting the error reporting level differently. Preferably at the end of the page that's having problems run:

phpinfo();

这会给你的全球和本地值的display_errors。它可能已经在某一时刻接通。

It will give you the global, and local values for display_errors. It's likely been turned on at some point.

如果你建立它被重新开启,你需要找到它重新打开,并删除。在项目中搜索的ini_set()可能会有所帮助。

If you establish that it's being turned back on, you'll need to find where it's turned back on, and remove that. Searching for ini_set() within your project will probably help.

这篇关于为什么PHP仍然显示错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆