[root@bsd01 lighttpd]#ps -aux | grep php-cgi
www 25354 24.6 2.5 30956 12924 ?? Ss 3:33AM 0:00.41 /usr/local/bin/php-cgi
www 25355 0.0 2.5 30956 12964 ?? S 3:33AM 0:00.00 /usr/local/bin/php-cgi
www 25356 0.0 2.5 30956 12964 ?? S 3:33AM 0:00.00 /usr/local/bin/php-cgi
www 25357 0.0 2.5 30956 12964 ?? S 3:33AM 0:00.00 /usr/local/bin/php-cgi
▼然后启动nginx即可:
[root@bsd01 ~]#nginx
[root@bsd01 ~]#pgrep nginx
R25436
f25435
现在来访问我们的web页面,说明nginx已经成功配置: