There are several options for displaying information about the PHP version of the handler, the presence of installed modules, as well as the web server configuration.
1. The most common script containing all the information
nano info.php
<?php
phpinfo();
?>
2. Information output options
You can configure which of the information blocks should be displayed, for example:
nano info.php
<?php
phpinfo(<output>INFO_GENERAL</output>);
?>
2.1 Available options:
- INFO_GENERAL
- INFO_CREDITS
- INFO_CONFIGURATION
- INFO_MODULES
- INFO_ENVIRONMENT
- INFO_VARIABLES
- INFO_LICENSE
- INFO_ALL
By replacing an option in the script, you select a block to display information.
No Comments Yet