Difference between revisions of "PHP Info"

From TheBestLinux.com
Jump to navigation Jump to search
Line 8: Line 8:
 
output_buffering = 0
 
output_buffering = 0
 
</pre>
 
</pre>
<br /><br />
+
<br />
To increase timeouts, increase the value of this variable, which defaults to 60, to /etc/php.ini file:
+
To increase streaming data timeouts, increase the value of this variable, which defaults to 60, to /etc/php.ini file:
 
<pre style="color:blue">
 
<pre style="color:blue">
 
default_socket_timeout = 300
 
default_socket_timeout = 300
 
</pre>
 
</pre>
 
<br /><br />
 
<br /><br />

Revision as of 00:14, 14 June 2015

PHP - Miscellaneous Information

PHP Configuration

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