Centos7.6搭建apache2.4+php7.2环境支持php-redis、php-solr--傻瓜教程

Centos7.6搭建apache2.4+php7.2环境支持php-redis、php-solr–傻瓜教程(实践所得)

此文章借鉴了1篇网络上的教程,自己已经搭建成功,希望对大家有所帮助

yum install epel-release
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php72
yum install httpd

systemctl enable httpd.service
systemctl stop httpd.service
systemctl restart httpd.service

yum install php
yum install php-fpm php-gd php-json php-mbstring php-mysqlnd php-xml php-xmlrpc php-opcache php-redis php-solr

systemctl status php-fpm
systemctl enable php-fpm.service
systemctl start php-fpm.service

reboot

你可能感兴趣的:(Centos)