How To Install PHP 7.4 On CentOS 7 - ComputingForGeeks
How To Install PHP 7.4 On CentOS 7 - ComputingForGeeks
4 on CentOS 7
By Josphat Mutai - July 12, 2021
This is a short guide on how to Install PHP 7.4 on CentOS 7 Linux system. The PHP Version
7.4.0 has been released in stabilization phase for the developers, and for users to test. This is
not recommended to be run in Production, until the stable version of PHP 7.4 is made
available to the general public. The expected official release date is November 28, 2019. x
PHP 7.4 comes with a remarkable amount of new features. This version is RPM are available
in the remi-php74 repository for Fedora ≥ 29 and Enterprise Linux ≥ 7 (RHEL, CentOS) and
as Software Collection in the remi-safe repository (or remi for Fedora).
Dependencies Resolved
x
===========================================================================
========================================================================
===========================================================================
========================================================================
Installing:
6.el7 base 92 k
Transaction Summary
===========================================================================
========================================================================
Installed size: 73 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): httpd-tools-2.4.6-90.el7.centos.x86_64.rpm
| 91 kB 00:00:00
(2/10): apr-1.4.8-5.el7.x86_64.rpm
| 103 kB 00:00:01
(3/10): mailcap-2.1.41-2.el7.noarch.rpm x
| 31 kB 00:00:00
(4/10): apr-util-1.5.2-6.el7.x86_64.rpm
| 92 kB 00:00:01
-------------------------------------------------------------------------
Fingerprint: 1ee0 4cce 88a4 ae4a a29a 5df5 004e 6f47 00f9 7f56
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Is this ok [y/N]: y
Example:
sudo 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
$ php --modules
You have successfully installed PHP 7.4 on CentOS 7. Enjoy your PHP development/tests with x
this release and don’t forget to provide feedback to the Development team.
Similar:
extremely grateful for the kind people who have shown amazing
support for our work over the time we have been online.
Thank You for your support as we work to give you the best of
guides and articles. Click below to buy us a coffee.
Josphat Mutai
https://computingforgeeks.com/
x