How to upgrade PHP to 7.4 on Centos 7

How to upgrade PHP to 7.4 in centos 7 ? 

 Enter the following commands on the terminal to upgrade PHP:
1 . To install the latest  PHP 7, you need to turn on EPEL and Remi repository.
root@gateway:~# yum install epel-release

root@gateway:~# yum install

2.Next, you need to install yum-util packages
root@gateway:~# yum install yum-utils -y
3. Enable remi repo as per the desired PHP version, for PHP 7.4,

If you want to install PHP 7.3, you can use the following command, root@gateway: ~ # yum-config-manager --enable remi-php73

root@gateway:~# yum-config-manager --enable remi-php74
root@gateway:~# yum update 
 4.Now install PHP 7.4 with all necessary modules with the command below.
root@gateway:~# yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-process php-ldap
5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Connect jumpserver using putty
    Viewed 1320 times since Tue, Apr 2, 2019
    Is the software upgrade seamless from free to paid? Do i have to reinstall?
    Viewed 1881 times since Mon, Aug 21, 2017
    Is it a hosted solution?
    Viewed 1954 times since Mon, Aug 21, 2017
    Why is ezeelogin the most secure gateway?
    Viewed 1981 times since Mon, Aug 21, 2017
    Trial License Vs Paid License
    Viewed 3148 times since Wed, Jun 14, 2017
    How to reset mysql or Mariadb root password ?
    Viewed 522 times since Mon, Jun 1, 2020
    Enable SSH Key based authentication and Disable Password Authentication in ssh
    Viewed 924 times since Tue, Apr 21, 2020
    How to convert the ppk files to openssh format
    Viewed 11937 times since Fri, Aug 3, 2018
    How to set user password lifetime for expiry
    Viewed 541 times since Wed, Apr 15, 2020
    How to migrate the custom server fields from Ezeelogin version 7.0 to the latest version?
    Viewed 640 times since Thu, Jul 16, 2020