Using phpinfo() – Display PHP Configuration & Modules

phpinfo()  is a PHP built-in function used to display information about PHP’s configuration settings and modules.

When we install PHP, there are many additional modules also get installed. Most of them are enabled and some are disabled. These modules or extensions enhance PHP functionality. For example, the date-time extension provides some ready-made function related to date and time formatting. MySQL modules are integrated to deal with PHP Connections.

It is good to take a look on those extensions. Simply use

phpinfo() function as given below.

Example Using phpinfo() function

Tutorials Class - Output Window


Learn more about the similar topics:
PHP Syntax
Exercises & Assignments
Simple Tips for PHP Beginners
Experiment with Basic PHP Syntax Errors
Using phpinfo() – Display PHP Configuration & Modules
Interview Questions & Answers
What is the correct & common way to start and finish a PHP block of code?
What is the default extension of the PHP file?