Difference between revisions of "PHP Info"

From TheBestLinux.com
Jump to navigation Jump to search
Line 1: Line 1:
 
= PHP Info Page - Create a PHP Info Page to Display All PHP Settings, Modules, Etc! =
 
= PHP Info Page - Create a PHP Info Page to Display All PHP Settings, Modules, Etc! =
[[Here is how to create 3 lines of code to create a PHP info page|phpinfo]]
+
[[phpinfo_page|Here is how to create a PHP info page in only 3 short lines of code!]]
 
<br /><br />
 
<br /><br />
  

Revision as of 10:40, 16 January 2021

PHP Info Page - Create a PHP Info Page to Display All PHP Settings, Modules, Etc!

Here is how to create a PHP info page in only 3 short lines of code!

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