首先 sudo systemctl start nginx,启动Nginx,
访问127.0.0.1,如果出现502 bad gateway
先 netstat -antp 查看 9000。端口是否启动或者被占用
如果没有启动,就 sudo php-cgi 127.0.0.1:9000& //启动php-cgi
首先 sudo systemctl start nginx,启动Nginx,
访问127.0.0.1,如果出现502 bad gateway
先 netstat -antp 查看 9000。端口是否启动或者被占用
如果没有启动,就 sudo php-cgi 127.0.0.1:9000& //启动php-cgi