Updating the PHP version in cPanel is a straightforward process that can be done in just a few steps. In this article, we will guide you through the process of updating the PHP version in cPanel.
Step-by-Step Guide to Updating the PHP Version in cPanel:
Step 1: Log in to cPanel Log in to your cPanel account using your username and password. You should be able to access the cPanel dashboard.
Step 2: Navigate to the "Select PHP Version" section Once you are in the cPanel dashboard, navigate to the "Software" section and click on "Select PHP Version". This will take you to the PHP version selection page.
Step 3: Select the desired PHP version On the PHP version selection page, you will see a list of available PHP versions. Choose the PHP version that you want to update to by selecting it from the drop-down menu. You can also select different PHP modules that you want to enable or disable.
Step 4: Save changes Once you have selected the desired PHP version and modules, click on the "Save" button to apply the changes. You will receive a confirmation message once the changes have been saved.
Step 5: Verify the PHP version To verify that the PHP version has been updated, you can create a PHPinfo file. This file will display information about the PHP version that is currently running on your server.
To create a PHPinfo file, follow these steps:
Go back to the cPanel dashboard and navigate to the "File Manager" section.
Create a new file in the public_html directory and name it "https://www.brownhosting.com/?ccce=phpinfo".
Edit the file and add the following code:
<?php phpinfo(); ?>
Save the file and close the editor.
Open a web browser and go to http://yourdomain.com/phpinfo.php. Replace "yourdomain.com" with your actual domain name.
The PHPinfo file should display information about the PHP version that is currently running on your server.