1、安装源:
rpm -Uvh http://mirrors.zju.edu.cn/epel/7/x86_64/e/epel-release-7-5.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm</pre>2、安装php和httpd<p></p><p></p><pre code_snippet_id="626311" snippet_file_name="blog_20150324_4_9068718" name="code" class="plain">yum --enablerepo=remi,remi-php56 install httpd php php-common
启动http:
systemctl starthttpd.service
systemctl enablehttpd.service
3、安装msyql(mariaDB)
yum --enablerepo=remi install mysql yum --enablerepo=remi install mariadb-server
systemctl startmariadb.service
systemctl enablemariadb.service
本文指导如何在Linux系统上安装并配置PHP、MySQL和HTTP服务,包括安装依赖包、启动服务和设置服务自动运行。

362

被折叠的 条评论
为什么被折叠?



