PHP includes a built-in function called phpinfo() for viewing PHP settings. This can be useful to check default PHP settings or to see if the changes to PHP settings you've made were done correctly.
To see the output of phpinfo(), create a new file in your app named phpinfo.php (you can name it something else, if you prefer). Edit the file so that it contains only the following line:
<?php phpinfo() ?>
Next, make a request for this file using your browser. For example, if you created the file with the name phpinfo.php and your app's domain name is example.com, you'd make a request for http://example.com/phpinfo.php using your browser.
When you make a request for your phpinfo.php page, you'll see a long page displaying tables of all PHP settings. For each setting, you'll see the default value (called the "master" value) and the current value (called the "local" value). The local value will be the same as the master value in all cases except where you've changed a PHP setting.
Below you can find sample phpinfo() output for each version of PHP supported by ServerPilot.