Create a PHP Info Page to Display All PHP Settings, Modules, Etc! This is extremely useful in setting up your website!
System wide configuration on a Linux system is contained in the /etc/php.ini file.
To turn off output buffering, add this to the /etc/php.ini file:
output_buffering = 0
To increase streaming data timeouts, increase the value of this variable, which defaults to 60, to /etc/php.ini file:
default_socket_timeout = 300