Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php ini_set() changes don't take with safe mode off

I wanted to turn output buffering off. Currently it shows no value for local and master. I run ini_set('output_buffering',4092); and no changes in phpinfo(). Safe mode is off.

What's the next thing to check?

like image 285
Jared Eitnier Avatar asked Dec 09 '22 17:12

Jared Eitnier


1 Answers

output_buffering can only be set via PHP_INI_PERDIR which according to the documentation is:

Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3)

Only PHP_INI_ALL and PHP_INI_USER allows setting directive inside a PHP file.

like image 78
cryptic ツ Avatar answered Dec 11 '22 07:12

cryptic ツ