Centos7.4+apache+php7.1

APACHE

yum install httpd

firewall-cmd --zone=public --add-port=80/tcp --permanent

systemctl restart firewalld

systemctl start httpd

systemctl enable httpd

PHP

yum -y install epel-release

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

yum install mod_PHP71w

systemctl restart httpd

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native