我已安装 httpd-2.2.29
使用命令:
./configure --prefix=/home/user/httpd
make
make install
我配置了
httpd.conf
并尝试从 apache: apachectl start
开始.但得到以下错误:(13)Permission denied: Error retrieving pid file run/httpd.pid Remove it before continuing if it is corrupted.
我试图找到文件
httpd.pid
,但哪里没有这样的文件。有人可以帮我解决这样的问题吗?
最佳答案
您是否尝试以非特权用户身份启动 apache?权限被拒绝表明你做到了。试试这个:
$ sudo apachectl start
关于apache - (13)权限被拒绝 : Error retrieving pid file run/httpd. pid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27862664/