1. Log into WHM via root user.
2. Find Easy Apache from the top left search box
3 Select Easy Apache (Apache Update)
4. On the next screen, you may see the current Apache configuration (current profile) under Previous the Configuration; however the mouse over gear icon Customize Profile located under Action column.
5. You will see Apache version screen as shown below.
6. At next stage, you will see screen to select the PHP Version.
Select the PHP version you would like to upgrade and click on Next Step.
7. At next stage, you will see screen to select the PHP Version.
8. Select the PHP version you would like to upgrade and click on Next Step.
9. While using the upgraded PHP version, there is no need to make any changes at next 2 stages, Short Options List and Exhaustive Options List.
10. Go to Next Step for Save and Build.
Similarly, If you need to upgrade MySQL on your cPanel, simply choose the option as below:
Home »Software »MySQL/MariaDB Upgrade. If you don't see MySQL upgrade option run upcp
Instead of using the hostname “localhost”, use an IP address in your MySQL connection string.
Hey hostech_support you gave very nice information this can help many people with WHM panel. Their is many complexity now a days with many companies, so we need to check out their reviews before taking them. We should also take recovery as a service so that we will not loose the data.