info in PHP in Detail – Getting Server Details in PHP

by Hiroshi on June 19, 2008

in Info, PHP Basics

PHP info outputs lots of PHP information installed at your server. Create the following script file and upload it at your server to see all about PHP software installed there.

<?php
phpinfo();
?>

And there is more to that…

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// phpinfo(INFO_CONFIGURATION);
//phpinfo(INFO_GENERAL);
//phpinfo(INFO_CREDITS);
//phpinfo(INFO_MODULES);
//phpinfo(INFO_ENVIRONMENT);
//phpinfo(INFO_VARIABLES);
//phpinfo(INFO_LICENSE);
//phpinfo(INFO_ALL);
?>

more
https://www.php.net/phpinfo

Related Posts

Previous post:

Next post: