How to create a phpinfo file

To make it easier to get in touch with us, from the 24th of March 2016 all support tickets will need to be submitted from your Crucial Control Panel.

 

A phpinfo page can show your server's current PHP information such as version, variable settings and enabled/disabled extensions.

 

Step 1 - Create a file named phpinfo.php and put it in your website's public_html folder. If you're unsure how, click here for a guide on doing this with the cPanel file manager.

 

Step 2 - Put this code in the file:

 

<?php              

phpinfo();         

?>                   

 

If you're unsure how to do this, click here for a guide on editing files with the cPanel File Manager

 

Step 3 - To view your site's PHP information, simply go to the website. For example, if your website is yourdomain.net.au you would visit yourdomain.net.au/phpinfo.php

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk