How to check the PHP version and configuration for your website?

'phpinfo.php' is the file which is used for checking the PHP version and configuration on cPanel server. You can create the phpinfo.php file using below steps under cPanel -

1. Login to cPanel.
2. Follow File Manager >> public_html.
3. Click on option 'File' ( + sing on top left corner of the page).
4. Enter the file name as phpinfo.php >> Create New File.
5. Now right click on the file phpinfo.php >> Code Edit.
6. Enter the below code in file -
<?php
phpinfo();
?>
7. Click on Save Changes option (top right corner of the page).
Once done then open the web-browser and enter "http://domain_name/phpinfo.php". This will display the PHP configuration of your website.

(Make sure to replace domain_name with name name of your website)

Note -
When you will done with verification then remove or rename the 'phpinfo' file from cPanel.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset SSH port back to default port 22?

In some situations most of us may come across a problem that we are able to log into the WHM but...

How to setup the root login alert notification email?

Its very important to keep a check on your servers and who logs into the server, From security...

How to enable Open SSL on WHM?

Before enabling open SSL, you can check whether it is already enabled on your server. Please fire...

How to install mod_pagespeed on WHM?

'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

Powered by WHMCompleteSolution