yum安装LAMP

安装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


作者:Outsrkem
出处:https://www.cnblogs.com/outsrkem/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

原文地址:https://www.cnblogs.com/outsrkem/p/11426025.html