centos7.3安装php7.3 参考https://blog.csdn.net/laohe08/article/details/93166590
1、首先安装 EPEL 源:
yum install epel-release
安装 REMI 源: yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
2、安装 Yum 源管理工具:
yum install yum-utils
3、安装 PHP7.3:
yum install -y php73-php-fpm php73-php-cli php73-php-bcmath php73-php-gd php73-php-json php73-php-mbstring php73-php-mcrypt php73-php-mysqlnd php73-php-opcache php73-php-pdo php73-php-pecl-crypto php73-php-pecl-mcrypt php73-php-pecl-geoip php73-php-recode php73-php-snmp php73-php-soap php73-php-xmll
4.安装完成后最好重启一下计算机,不然有可能无法启动php
设置开机启动、运行服务:
systemctl enable php73-php-fpm
systemctl start php73-php-fpm
centos7.3 安装nginx
1.安装nginx:
yum install nginx -y
2.安装完之后修改配置文件 /etc/nginx/nginx.conf
(ps:要是配置文件不在这个位置的,可以利用find命令和whereis命令进行查询)
配置文件参考下面进行更改:
这一步,只需要两处,去除对 IPv6 地址的监听,修改要监听的域名,即:
#listen [::]:80 default_server;
server_name www.***.com;
3. 启动nginx:
nginx
4.将 Nginx 设置为开机自动启动:
chkconfig nginx on
安装 wordpress
yum install wordpress -y
安装mysql5.7
参考https://blog.csdn.net/wohiusdashi/article/details/89358071
https://blog.csdn.net/mythmayor/article/details/89562192 下载phpstrom及破解