To check the current PHP version, please follow these steps:
- Log in to cPanel.
- Navigate to Software >> MultiPHP Manager (or simply search for "MultiPHP Manager" in the search bar).
- The PHP version for each domain will be displayed under the PHP Version column.
Alternatively, you can manually verify the PHP version by following these steps:
- In cPanel, go to Files >> File Manager (or search for "File Manager" in the search bar).
- Navigate to your website's root directory (typically public_html).
- Create a file named info.php.
- Add the following code to the info.php file:
<?php
phpinfo();
?> - Access the file through your browser by visiting: http://yourdomain.com/info.php
- The page will display detailed PHP configuration information, including the version.
Important: Be sure to delete the info.php file after checking to avoid exposing sensitive server information.