0% found this document useful (0 votes)
10 views1 page

Centos7+ +Upgrade+Php

This document provides instructions to upgrade PHP from an earlier version to PHP 7.4 on CentOS 7. It details installing repositories, enabling the PHP 7.4 repository, upgrading packages, and installing additional PHP modules.

Uploaded by

Rodrigo Satch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Centos7+ +Upgrade+Php

This document provides instructions to upgrade PHP from an earlier version to PHP 7.4 on CentOS 7. It details installing repositories, enabling the PHP 7.4 repository, upgrading packages, and installing additional PHP modules.

Uploaded by

Rodrigo Satch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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}

You might also like