D
D
Denis2013-04-30 17:48:43
linux
Denis, 2013-04-30 17:48:43

PHP not responding to display_errors = Off?

Good afternoon!
PHP does not respond to display_errors = Off
phpinfo() gives: display_errors On On
cat /etc/php5/apache2/php.ini | grep display_errors
; display_errors
display_errors = Off
; separately from display_errors. PHP's default behavior is to suppress those
Corrected this parameter in all existing php.ini, still writes On
Apache of course rebooted.
.htaccess does not contain php_value Please
advise. How to find where he all the same so exhibited?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
smglab, 2013-04-30
@smglab

you can set the parameters in the code

N
Nikolai Vasilchuk, 2013-04-30
@Anonym

And "php -i | grep display_errors" what does it show?

N
Nikita Gusakov, 2013-04-30
@hell0w0rd

I don't know the console very well, but can't all .ini files be whacked?

find / -name "*.ini" 

then for each look at the content for display_errors

S
SadGnome, 2013-04-30
@SadGnome

Look also for php_value display_errors in your apache virtual host config. Maybe he registered there?

A
Andrey Burov, 2013-04-30
@BuriK666

in phpinfo there is
"Loaded Configuration File" and "Additional .ini files parsed" in these .ini you can change any settings.
If it gives “On On”, then the settings are global and not ini_set in scripts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question