centos+httpd

lsof -i:81

service httpd start/stop/restart

vi /etc/httpd/conf/httpd.conf


php-fpm 关闭:

pkill php-fpm 强制关闭

/usr/local/php/sbin/php-fpm 启动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进程数:

ps aux | grep -c php-fpm


问题排查:

apache正常启动 访问不了 机器重启过 (答: 防火墙要关掉 http://www.linuxidc.com/Linux/2015-05/117473.htm)

你可能感兴趣的:(centos+httpd)