Support Hub

Using phpinfo.php

  • Updated

 

Phpinfo.php is a tool for telling what PHP variables and extensions are enabled on your website.  It's easy to set up, just takes a few minutes, and once it's done you can see every detail of the PHP settings in place.

 

Firstly you need to connect to the server using SSH or FTP.  You can get your SSH log in details using this article or you can get your FTP details here which you can use with an FTP client like Filezilla. Once connected browse to the document root (typically the public folder on our Platform) for the site and create a new file with the following as the contents:

 

<?php

 

// Show all information, defaults to INFO_ALL

 

phpinfo();

 

?>

 

Then save the file with the file name of phpinfo.php.  Next browse the file by going to your domain name /phpinfo.php. For example www.mydomain.com/phpinfo.php At the top of the page, the PHP version is displayed and all the variables and enabled extensions are displayed below.  The file can be quite long, so use control/f to search it.  Please bear in mind that this is publicly available so either removing it or hiding it once you're done is recommended.   

Share