Jeffrey’s Blog

Apache无法加载PHP模块的问题

Filed under: 应用服务 — Jeffrey @ Friday, April 7th, 2006 4:00 pm

#apachectl restart
Syntax error on line 232 of /app/apache2.0.55/conf/httpd.conf:
Cannot load /app/apache2.0.55/modules/libphp4.so into server: /app/apache2.0.55/modules/libphp4.so: cannot restore segment prot after reloc: Permission denied
总是无法加载libphp4.so这个包,搜索一下,原来是SELinux的原因,那么把这个SELinux关了吧:

vi /etc/selinux/config,找到这段:

SELINUX=enforcing

修改为:
Continue Reading ...

京ICP备06038449号