yum安装LAMP

原文链接: http://www.cnblogs.com/outsrkem/p/11426025.html

安装LAMP环境二进制包安装,先更新yum源,PHP 7.0.33 扩展可选

yum -y install mysql mysql-server mysql-devel httpd httpd-devel 
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum -y install \
php70w \
php70w-common \
php70w-fpm \
php70w-opcache \
php70w-gd \
php70w-mysqlnd \
php70w-mbstring \
php70w-pecl-redis \
php70w-devel \
php70w-xml \
php70w-intl

转载于:https://www.cnblogs.com/outsrkem/p/11426025.html

你可能感兴趣的:(yum安装LAMP)