How to Check PHP configuration
Login to cpanel : https://yourdomain.com/cpanel
Click FIle Manager and go to the domain directory
Please ensure you are in correct domain directory then click + File to create new file
Create the file name phpinfo.php and click button Create New File
Right click to the phpinfo.php file and click edit. Then paste below code and click Save Changes
Code :
<?php
phpinfo();
?>
Now you can check the PHP version/module on the search engine by visit to your domain link eg: https://yourdomain.com/phpinfo.php
Click FIle Manager and go to the domain directory
Please ensure you are in correct domain directory then click + File to create new file
Create the file name phpinfo.php and click button Create New File
Right click to the phpinfo.php file and click edit. Then paste below code and click Save Changes
Code :
<?php
phpinfo();
?>
Now you can check the PHP version/module on the search engine by visit to your domain link eg: https://yourdomain.com/phpinfo.php
Updated on: 07/01/2023
Thank you!