2010年5月30日 星期日

cannot restore segment prot after reloc: Permission denied

httpd: Syntax error on line 55 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
解决办法:
先禁止掉SELinux
更改/etc/sysconfig/selinux 文件的内容为 SELINUX=disabled
再使用:chcon -t texrel_shlib_t /usr/local/apache/modules/libphp5.so

沒有留言:

張貼留言