<\/figure><\/div>\n\n\n\nThis will apply to most WHM systems. I'm just using OVH for this example because I'm very familiar with it.<\/p>\n\n\n\n
Log into WHM. Scroll down to the Software<\/em> accordion and select EasyApache 4<\/em>. Note this version number might be different in your installation.<\/p>\n\n\n\n <\/figure><\/div>\n\n\n\nClick \"Customize\" next to the Currently Installed Packages<\/em>.<\/p>\n\n\n\n <\/figure><\/div>\n\n\n\nToggle the PHP versions you want to enable.<\/p>\n\n\n\n
I wouldn't disable any of the current versions yet. Add new versions, update and check your domains, then uninstall older versions when you're sure you no longer need them.<\/p><\/blockquote>\n\n\n\n
<\/figure><\/div>\n\n\n\nYou'll be asked whether you want to install the relevant PHP version and its extensions, or just the PHP version. In most cases, you'll want to do both PHP and its extensions.<\/p>\n\n\n\n
Click the relevant buttons, then click \"Next\".<\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nYou'll go through several screens. Check what packages are going to be installed if you're doing anything custom.<\/p>\n\n\n\n
You can filter by the PHP versions you're installing, to make it easier to check which extensions are going to be installing.<\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nOnce you're happy, just proceed through the rest of the screens.<\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nAt the end, you'll come to a giant screen showing all the changes that are going to be made. If you're happy with that, click \"Provision\" at the bottom.<\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nIt will take a few minutes for EasyApache to install everything. Wait til it's complete.<\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nYou'll see a line that says \"Provision process finished\". Then click \"Done\".<\/p>\n\n\n\n
<\/figure><\/div>\n\n\n\nYou can now go back to the OVH cPanel<\/a> and you'll see the new PHP versions available.<\/p>\n\n\n\n <\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"With PHP 5.6 reaching the end of support recently, now is a good time to write a refresher on how to update to a more current version. How to update the PHP version on cPanel: Take a backup of all the sites on the server Log in to cPanel Look under Software for “PHP Selector” or “PHP Manager” Choose the domain to<\/p>\n","protected":false},"author":2,"featured_media":318,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"yoast_head":"\n
How To Upgrade PHP in cPanel (SiteGround, HostGator, GoDaddy, OVH)<\/title>\n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n\t \n\t \n\t \n