CENTOS 7 UPGRADE TO PHP 7.4 Install the EPEL repository configuration package: sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Install the Remi repository configuration package: sudo yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm Install the yum-utils package (for the yum-config-manager command): sudo yum install yum-utils Enable the repository: sudo yum-config-manager --disable 'remi-php*' sudo yum-config-manager --enable remi-php74 Upgrade (the repository only provides PHP): sudo yum update Install additional packages: sudo yum install php-{fpm,gd,json,mbstring,mysqlnd,xml,xmlrpc,opcache,cli,zip,soap,intl,bcmath,curl,ssh2}