How to Create Phpinfo.php File

You can view the value of your hosting’s php version and parameters through the phpinfo.php file. This does not exist by default so this article provides the steps on how to create it.  

  1. Create a website file with a file name of phpinfo.php 
  2. In the phpinfo.php file, enter the code below:
    <?php phpinfo(); ?> 
  3. Click Save Changes 
  4. Access the file on a browser by going to the website address yourdomain.com/phpinfo.php. Replace yourdomain.com with the domain or subdomain of your website.  

The website page shows all the php information and parameters. This is useful when checking the changes made to php parameters.  

Feel free to contact our Singapore or Australia Support Team if you have further questions. 

(Visited 14 times, 1 visits today)