lsof -i:81
service httpd start/stop/restart
vi /etc/httpd/conf/httpd.conf
php-fpm 關(guān)閉:
pkill php-fpm 強(qiáng)制關(guān)閉
/usr/local/php/sbin/php-fpm 啟動(dòng)kill -INT `cat /www/server/php/54/var/run/php-fpm.pid`
php-fpm 重啟:
kill -USR2 `cat /www/server/php/54/var/run/php-fpm.pid`
查看php-fpm進(jìn)程數(shù):
ps aux | grep -c php-fpm
問(wèn)題排查:
apache正常啟動(dòng) 訪問(wèn)不了 機(jī)器重啟過(guò) (答: 防火墻要關(guān)掉 http://www.linuxidc.com/Linux/2015-05/117473.htm)