phpinfo() Function

phpinfo() Function

This function returns the detailed information about the PHP configuration, server envioroment, and server setting. This function also gives the information of running PHP version on the server. We can also change the settings in php.ini file (This is a PHP configuration file).

Here is the example of using php.ini file

Output:

phpinfo() Function

phpinfo() Function