Apache报libphp5.so错误

httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
方法1
设置通过selinux的检验
chcon -t texrel_shlib_t /usr/local/apache2/modules/libphp5.so
方法2
关闭selinux
vi /etc/selinux/config
设置
SELINUX=disabled 
 
 
 

 

你可能感兴趣的:(apache,职场,休闲,libphp5.so)