编译后 pidfile 默认在 /usr/local/apache/logs/httpd.pid
求解, httpd2.4 如何修改 pidfile 路径呢? 这三个都修改了。但 pidfile 还是默认 /usr/local/apache/logs/httpd.pid
/etc/httpd24/httpd.conf PidFile "/var/run/httpd/httpd24.pid"
/etc/sysconfig/httpd PIDFILE=/var/run/httpd/httpd24.pid
/etc/rc.d/init.d/httpd24 pidfile=${PIDFILE-/var/run/httpd/httpd24.pid}
1
jcwtime OP 好吧。自己研究解决了。原来是使用 vhost 的话,也要在 vhost.conf 里面指定 pidfile 路径
|