Installing Lumen -- Red Hat/CentOS
阿新 • • 發佈:2017-11-12
match cif bsp entos repo using ati pos x86
$ sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
####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