PHP developers and web server admins can use the phpinfo function to quickly see information about their installation of PHP. This can assist in debugging, seeing what version of PHP is installed, or seeing various configuration options.
On Linux systems, it’s common to make a phpinfo.php page after installing a LAMP server or LEMP server to make sure that PHP is working and to verify settings.
In this tutorial, we’ll guide you through the creation of a phpinfo.php page on your own system, as well as how to access this file afterwards.
In this tutorial you will learn:
- How to create phpinfo.php page