How to check PHP version and configuration

PHPinfo() function is commonly used to check the current state of PHP configuration. It can also be used for debugging purposes as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.

Create and upload file (for example: info.php) with this content


Then open this file in your browser: