跳到主要内容
帮助中心

新闻公告

产品更新、运营公告与行业观察
一手消息,第一时间同步给你

linux Centos怎么安装wordpress

一、安装nginx

1.用yum安装

yum -y install nginx


2.控制命令

//启动
nginx
//关闭
nginx -s stop
//重启
nginx -s reload

二、安装php


1.显示系统安装的php版本

yum list installed php*


2.卸载已安装的php版本

yum remove php*


3.下载yum源

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


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


4.显示可以安装的php包

yum list php*


5.下载最新的

yum -y install php72w php72w-mysql php72w-fpm


6.启动

service php-fpm restart



本文链接
返回本栏目
工单