1. 程式人生 > >Installing Lumen -- Red Hat/CentOS

Installing Lumen -- Red Hat/CentOS

match cif bsp entos repo using ati pos x86

####To install a modern version of PHP on Red Hat and CentOS
I recommend using the Webtatic ( https://webtatic.com/ ) yum repository.

First, add the repository with the Webtatic release RPM; you should use the repository that matches your specific version

# CentOS/REHL 7

$ yum -y update
$ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


$ sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Adding the Webtatic Repository

$ yum install \
php71w.x86_64 \
php71w-mysql.x86_64 \
php71w-mbstring.x86_64 \
php71w-xml.x86_64 \
php71w-pecl-xdebug.x86_64

Installing Lumen -- Red Hat/CentOS