Centos7 update php5 to php7.2
In order to update to the recommended php version for wordpress,i update the original php 5.4 to php 7.2.
- check the list of installable php versions in yum.
1 | # yum provides php |
- To start upgrading the PHP update source, and remove the old php.
1 | # rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm |
- check the php version.
1 | # php -v |
- install the php-fem
1 | # yum install php72w-fpm |
Centos7 update php5 to php7.2
https://www.chenyu-k.com/2021/11/15/2021-11-15-centos-7-update-php5-to-php7-2/