服務器重啓後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
相關文章
相關標籤/搜索