摘要: 问题背景 配置nginx+php服务的时候,发现网站能打开html,打开php文件就显示502,一般这个是php没启动啊啥的导致不能正常解析php文件。 原因分析 因为nginx解析php文件是交给fastcgi_pass 来处理的,默认一般fastcgi_pass 有两种方式来解析php,一种是常 阅读全文
posted @ 2019-07-22 17:55 疯刘小三 阅读(3521) 评论(0) 推荐(0)
摘要: 跟nginx一样都是进程占用,记录下 阅读全文
posted @ 2019-07-22 16:56 疯刘小三 阅读(3354) 评论(0) 推荐(0)
摘要: 安装linux的宝塔面板,结果面板显示nginx和php已经运行了,但是机器系统上并没有运行。记录一次nginx报错,操作步骤看下代码: [root@localhost nginx]# systemctl status nginx.service ● nginx.service - LSB: sta 阅读全文
posted @ 2019-07-22 16:47 疯刘小三 阅读(13317) 评论(3) 推荐(0)
摘要: 1.安装服务 yum install ntp ##安装ntp服务,这个和ntpdate不一样哦,用这个比较好 systemctl start ntpd.service ###启动服务 systemctl enable ntpd ###设置开机自启 ntpq -p ###查看同步 2.使用服务查看信息 阅读全文
posted @ 2019-07-22 12:01 疯刘小三 阅读(7689) 评论(0) 推荐(0)