With Zend OPcache v7.4.4, Copyright (c), by Zend ~]# Installation Steps of PHP 7.x on RHEL 7 Serverġ) Enable EPEL, RHEL 7 Server Optional repository and Install remirepo rpm Zend Engine v3.4.0, Copyright (c) Zend Technologies Once PHP and its dependencies are installed in step4), use below command to verify the installed PHP version, ~]# php -v Note: To search all PHP modules use below command: ~]# yum search php | more In this tutorial, I will install latest version of PHP 7.4 along with its modules, Run beneath yum command ~]# yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -y To configure PHP 7.4 repository, use below command ~]# yum-config-manager -enable remi-php74Ĥ) Install PHP 7.4 along with dependencies. To configure PHP 7.3 repository, use below command ~]# yum-config-manager -enable remi-php73 To configure PHP 7.2 repository, use below command, ~]# yum-config-manager -enable remi-php72 To configure PHP 7.1 repository, use below command, ~]# yum-config-manager -enable remi-php71 Login to your server and use the below yum command to install yum-utils & enable epel repository ~]# yum install epel-release yum-utils -yĢ) Download and Install remirepo using yum command ~]# yum install ģ) Based on your requirement, configure the PHP 7.x repository Installation Steps of PHP 7.1, 7.2, 7.3 and 7.4 on CentOS 7 Serverġ) Install yum-utils and enable EPEL repository
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |