phpinfo Page Creation

A phpinfo page displays information about your domain's PHP configuration. When you need to install, update, or troubleshoot applications, this information can be helpful to verify the compatibility of plugins and applications that you want to use on your domain.

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

Click “+File”

For security reasons, it's best to name the file something random and not “phpinfo.php”. However, make sure 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. Once you've given your file a name and location. click “Create New File”.

Navigate to the “public_html” folder to the left of the screen and click the file you just created. Click “Edit” at the top of the screen.

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

Copy and paste the following text, Then click “Save Changes.”

<?php

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

?>

You can now view the PHP information for your domain. The URL will be your domain name and the name of the .php file you made (for example, yourdomain.com/filename.php).