时间:2021-07-01 10:21:17 帮助过:51人阅读
查错误日志, 发现apache启动时有提示:[notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
原来是SELinux的安全策略导致的。
临时方案:setenforce 0
永久方案:修改/etc/sysconfig/selinux:SELINUX=disabled 重启生效!
CentOS搭建apache,总是报错:(13)Permission denied: file permissions deny server access
标签:denied ons deny perm rmi post pac blog running