How to install PHP 7.3 in centos

First, update your server using mention command

#yum -y update

after updating complied on your server use below mention command for installation of PHP 7.3

PHP 7.3 installation

For PHP Installation for use mention command for enabling remi repository 

#yum install epel-release yum-utils

# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

After enabling remi repository now you install PHP 7.3 on your server. PHP 7.3 is latest version stable release of PHP

First, enable the PHP 7.3 remi repository

yum-config-manager --enable remi-php73

After enabling the remi repository Install PHP 7.3 and some of the most common PHP modules

# yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd

After php installation completed verify the php version using mention command.

# php -v

Post a Comment