HOW TO INSTALL PHP 7.4 ON CENTOS 7 OS

PHP 7.4, offering new features and optimizations, is a popular choice for web development.

Here’s this article will show you how to install PHP 7.4 on CentOS 7 os.

ENABLING EPEL AND REMI REPOSITORIES

Start by installing the EPEL and Remi repositories:-

 

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
















Installing PHP 7.4

Enable the Remi repository for PHP 7.4 and install PHP:-

$ sudo yum-config-manager --enable remi-php74
$ sudo yum install php php-cli php-fpm php-mysqlnd -y

VERIFYING PHP INSTALLATION

Confirm the PHP installation:-

 

$ php -v

PHP 7.4 is now installed on your CentOS 7 server. It’s ready for use in your web development projects, providing improved performance and new features.

 

 

HOW TO INSTALL PHP 7.4 ON CENTOS 7 OS

Leave a Reply

Your email address will not be published. Required fields are marked *

0 0 4 3 2 3
Your IP Address : 3.144.204.102
We Accept Bkash DBBL Paypal Neteller PerfectMoney Skrill