
服务器配置
我,菜鸟
这个作者很懒,什么都没留下…
展开
-
Nginx配置文件详细说明
Nginx配置文件详细说明在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络.#运行用户user www-data; #启动进程,通常设置成和cpu的数量相等worker_processes 1;#全局错误日志及PID文件error_log /var/log/nginx/error.log;pid /var/run/nginx.pid;#工作...转载 2018-02-08 14:14:51 · 210 阅读 · 0 评论 -
lnmp环境解析php文件问题
首先先安装php-fpm,yum install php-fpmsystemctl start php-fpm #启动 php-fpm然后修改nginx配置文件nginx.conf 识别phpvi /usr/local/nginx/conf/nginx.conf,如下把之前的#给去掉就可以了,顺手改一下fastcgi_param location ~ \.php$ { root...翻译 2018-02-08 14:11:57 · 551 阅读 · 0 评论 -
centos7 搭建lnmp环境
翻译 2018-02-08 11:34:14 · 277 阅读 · 0 评论 -
centos yum安装高版本php
准备工作:配置防火墙,开启80、3306端口。CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。#停止firewall服务 systemctl stop firewalld.service #禁止firewall开机启动 systemctl disable firewalld.service #安装 yum install iptables-servic...翻译 2018-02-07 11:41:45 · 1511 阅读 · 0 评论