无论我做什么,都无法关闭显示错误

时间:2016-03-10 22:57:04

标签: php .htaccess error-handling

我已尝试将以下内容添加到index.php文件的顶部:

error_reporting(0);
ini_set('display_errors', 0);

我还尝试将以下内容添加到我的.htaccess文件中:

php_flag display_errors off

我还尝试使用以下内容创建php.ini文件:

display_errors = off

但我现在完全难倒了,这些都不会阻止错误显示。

我使用Webmin和PHP 5.4.45运行Ubuntu 12.04。

非常感谢任何帮助。

0 个答案:

没有答案