how to upgrade from a inherit php version to php 7.2

vinibeh

Registered
Sep 5, 2020
1
0
1
Porto Alegre
cPanel Access Level
Reseller Owner
Hi everyone, my site is WordPress 4.7.18 and its using the version 5.2 of php. I wish to update it to the version 7.2, since the multi php manager on my server says that versions 7.0 and 7.1 are deprecated. However the PHP version that my site is using is an inherited one. I' ve looked to the .htacess and its configure to use php 5.3. I've read about inheritance here PHP Inheritance | cPanel & WHM Documentation and all I could understand is that if I delete the configuration that tells my site to use php 5.3 on the .htacess and change to the version 7.2 on the cpanel that would be enough to do the upgrade. Is that right? I've checked all plugins and theme and they seem to be compatible with php 7. Could some help me please?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
HI @vinibeh

SInce you're using WordPress which is generally compatible with PHP 7+ you shouldn't experience an issue with switching the PHP version unless you have incompatible plugins (which is highly unlikely at that version of WordPress). You can switch your version by using the MutliPHP Manager. The documentation on this can be found here: MultiPHP Manager for cPanel | cPanel & WHM Documentation

Let us know if you have any questions about this!