PHP’s `phpinfo()` function is a useful tool for gathering information about your PHP installation. It can be used to check things like your PHP version, server settings, and loaded extensions.
To use the `phpinfo()` function, simply create a new PHP file and add the following code: