服务器重启后Nginx error

 

某天重启服务器以后,网站访问不了,Nginx 报错.php

一开始觉得是端口的缘由,扫描端口显示开启,Nginx服务也已经开启,使用80端口。mysql

后面发现是php服务没开启,开启php服务就正常了/etc/init.d/php-fpm start  nginx

之后服务器需设置开机自启动nginx,php,mysql.参考:https://www.jianshu.com/p/b5fa86d54685sql

设置SVN:服务器

systemctl enable svnserve.service

设置Nginx:svn

systemctl enable nginx.service

设置PHP: php-fpm

systemctl start php-fpm.service
相关文章
相关标签/搜索