CentOS 7.9 Core PHP 7.2 to 7.4 Upgrade

The following fixed the issue, hopefully this will help others…

yum list installed php72* or rpm -aq | grep -i php72*

yum remove installed php72*

yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum -y install yum-utils

yum-config-manager --enable remi-php74

yum update

yum install php php-cli

yum install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json

php -v

su - librenms
./daily.sh

systemctl restart httpd

4 Likes