httpd: Synta

 httpd: Syntax error on line 146 of /usr/local/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

装完lamp 

源码启动apache的时候报这个错误、

这个是由于selinux原因引起的

setenforce 0

或者 vim 

你可能感兴趣的:(error,on,AFTER,load,restore,into,line,cannot,cannot,prot,syntax,of,segment,permissio,httpd:,server:,146,reloc:)