Phpinfo()
From IThemes Codex
(Difference between revisions)
| Line 13: | Line 13: | ||
== 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