How to check PHP version and php configuration settings to the server? Print

  • 0

Step 1: Log into your cPanel account, go to Files section > File Manager menu.

Step 2: Navigate to public_html directory, click on New File and create a phpinfo.php file.

Step 3: Find the newly created file in the list and click on Code Editor.

Step 4: Add the lines of the code provided below to the file and click on Save Changes:

 

+++

<?php

phpinfo();

?>

+++

 

Step 5: To see the detailed information about PHP configuration of your account, open http://yourdomain.com/phpinfo.php link in your browser, replacing yourdomain.com with your main domain name.


Was this answer helpful?

« Back