PHP 7 installation through Yum Repo on Centos or RHEL and Fedora

In January 2016, released new latest version of PHP. This Version comes with new Zend Engine and lots of new features. Here in this articles , I will show you php 7 installation  via remi repository . Now php developer will use in php editor new version of php 7 version and provide good functionality for clients.

Features of  

Here are some features of PHP 7 , which makes is different from older version .

  • is twice faster than PHP 5.6 Version.
  • Return and Scaler Type Declarations
  • Anonymous function support
  • 64-bit support
  • Fatal errors are now change as Exceptions
  • Removal of old and unsupported SAPIs and extensions
  • The null coalesce operator (??)

STEP 1: Configure Remi Repository

For Configure REMI Repository on your Server operating system , you can follow in below link for installation of remi repo.

Install Remi Repository on CentOs or Red Hat / Fedora

After installation of this repositories on your server then we will go through on our next steps to install Version and its module installation , if needed.

STEP 2 : Search PHP Packages

available in remi package list , you can  check through below command .

#  list php7*


# yum search php7*

STEP 3 : Install latest php package

Find the latest php package and install it on the system. you can filter other php related software and install it according to your need.
#  install php74 -y
Version On 8

STEP 4 : Verify PHP Version

[[email protected]]# php74 -v
PHP 7.4.4 (cli) (built: Mar 17 2020 10:40:21) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies


About Sachin Gupta

I am a professional freelance contributor and founder of tech transit. Love to write and lover of education, culture, and community. I have been using it, setting, supporting, and maintaining it since 2009.Linux rocks!

Have any Question or Comment?

Leave a Reply

Your email address will not be published.