Centos7.4+apache+php7.1

前端之家收集整理的这篇文章主要介绍了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

原文链接:https://www.f2er.com/centos/375700.html

猜你在找的CentOS相关文章