centos下安装php7-fpm mysql

yum install epel-release

增加PHP7的源

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

正式安装php7-fpm

yum install php70w-fpm php70w-cli php70w-gd php70w-mcrypt php70w-mysqlnd php70w php70w-pecl-redis

安装MySQL

yum install mysql-server mysql-devel mysql

你可能感兴趣的:(centos下安装php7-fpm mysql)