Does suhosin force some options in php.ini?

1.9k views Asked by At

I can't seem to change some values in php.ini.

For example: display_errors = On

I can only turn it on on runtime.

I suspect that suhosin is messing with this, is there any way to bypass it?

Yes I'm sure I'm editing the right files, but look at this, taken from phpinfo():

Additional .ini files parsed /etc/php5/fpm/conf.d/pdo.ini, /etc/php5/fpm/conf.d/suhosin.ini

But I open suhosin.ini and there is nothing there, only extension=suhosin.so

1

There are 1 answers

0
Nick Clark On

Try adding this to your php.ini or suhosin.ini:

suhosin.disable.display_errors = Off