In January 2016 php.net, released new latest version of PHP. This PHP 7 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 PHP 7
Here are some features of PHP 7 , which makes php 7 is different from older version .
- PHP 7 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.
After installation of this repositories on your server then we will go through on our next steps to install php 7 Version and its module installation , if needed.
STEP 2 : Search PHP Packages
PHP 7 available in remi package list , you can check through below command .
# yum list php7* OR # yum search php7*
STEP 3 : Install latest php packageFind the latest php package and install it on the system. you can filter other php related software and install it according to your need.
# yum install php74 -y
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
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!