Is there a simple way to detect in PHP if output_buffering is enabled in php.ini? I\'d like to be able to display a message if it is not enabled.
Within my a
You can check any INI setting in PHP with the ini_get method. http://php.net/ini_get
ini_get
ini_get('output_buffering');
Likewise, you can change most INI settings with ini_set:
ini_set
ini_set('output_buffering', 'on');