Phpinfo()

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(Created page with 'The built-in PHP function, phpinfo(), echos information about the currently running PHP installation. This is a simple way to test that PHP is installed and functioning. It als…')
 
 
(One intermediate revision by one user not shown)
Line 11: Line 11:
 
Note: Use of PHP long tags ( <?php ) are recommended for the most compatibility over short tags ( <? ) which require the php.ini setting of short_opentag=On
 
Note: Use of PHP long tags ( <?php ) are recommended for the most compatibility over short tags ( <? ) which require the php.ini setting of short_opentag=On
  
=== Resources ===
+
== Resources ==
 
[http://php.net/manual/en/function.phpinfo.php PHP Manual: phpinfo]
 
[http://php.net/manual/en/function.phpinfo.php PHP Manual: phpinfo]
 +
 +
[[Category:PluginBuddy]]

Latest revision as of 11:43, June 15, 2010

The built-in PHP function, phpinfo(), echos information about the currently running PHP installation. This is a simple way to test that PHP is installed and functioning. It also provides useful information for debugging.

Example of Usage

<?php
phpinfo();
?>

Note: Use of PHP long tags ( <?php ) are recommended for the most compatibility over short tags ( <? ) which require the php.ini setting of short_opentag=On

Resources

PHP Manual: phpinfo

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox