I have the following code in an htaccess file in my application root to turn output buffering on.
php_value output_buffering On php_value output_handler mb_o
Those directives work only if PHP is installed as a module. On other servers it will result in 500, since they will be invalid directives