PHPinfo Creation

Sometimes it is necessary for you to know information about the PHP configurations of your domain in order to install, update, or troubleshoot applications on your domain. A PHP information page displays current PHP information. This information is important to verify the compatibility of plugins and applications that you may want to use on your domain.

Once you have learned how to navigate the File Manager application, you can go to File Manager on the BYU Dashboard to create this file.

Click “+File”

You're going to give your new file a name and location. For security reasons, it is recommended that you name the file something random and not “phpinfo.php”. However, make sure that the file ends in “.php” (e.g., posadas.php, flower.php, polkadot.php, etc.). Place the file in the “public_html” file so that it can be accessed online. When you have finished specifying this information, click “Create New File”.

Navigate to the “public_html” file on the left hand of the screen and click on the file you have created. Click “Edit” once you have selected this file.

Make sure that “utf-8” is specified, then click “Edit”

Copy and paste the following text and then click “Save Changes”

<?php

// Show all information, defaults in INFO_ALL
phpinfo();

?>

You can now view the PHP information for your domain. By going to yourdomain.com/thefilename.php you can access this information (e.g., teancum.com/posadas.php, pepino.com/pepper.php, etc.). The URL will contain your personal domain name and the name of the file you made.