Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top