Difference between revisions of "PHP Info"
Jump to navigation
Jump to search
(Created page with "= 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 t...") |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | = PHP | + | = Create a PHP Info Page to Display All PHP Settings, Modules, Etc! This is extremely useful in setting up your website!= |
| + | [[phpinfo_page|Here is how to create a PHP info page in only 3 short lines of code!]] | ||
| + | <br /><br /> | ||
= PHP Configuration = | = PHP Configuration = | ||
| Line 5: | Line 7: | ||
To turn off output buffering, add this to the /etc/php.ini file: | To turn off output buffering, add this to the /etc/php.ini file: | ||
| − | <pre style"color:blue"> | + | <pre style="color:blue"> |
output_buffering = 0 | output_buffering = 0 | ||
| + | </pre> | ||
| + | <br /> | ||
| + | To increase streaming data timeouts, increase the value of this variable, which defaults to 60, to /etc/php.ini file: | ||
| + | <pre style="color:blue"> | ||
| + | default_socket_timeout = 300 | ||
</pre> | </pre> | ||
<br /><br /> | <br /><br /> | ||
Latest revision as of 10:41, 16 January 2021
Create a PHP Info Page to Display All PHP Settings, Modules, Etc! This is extremely useful in setting up your website!
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