PHP info

Create a default PHP info file to test PHP configurations.

sudo nano /var/www/html/info.php

Add this content to the files and save:

<?php
phpinfo❨❩;
?>

Visit the URL: http://mydomain.com/info.php

Remove the info file after your done to ensure security:

sudo rm /var/www/html/info.php