1. 重启vps
reboot
2. 启动nginx
service nginx start
Starting nginx... Enter PEM pass phrase:done
3. 启动nginx后发现依然无法访问网站,查看 nginx 错误日志,发现如下错误:
2014/12/01 22:48:54 [crit] 774#0: *1 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 183.14.85.153, server: xxx.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "xxx.com"
4. 启动php-fpm
/etc/init.d/php-fpm start
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。