libphp5.so
httpd: Syntax error on line 142 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server
httpd: Syntax error on line 142 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 to solve the above error just type the following command chcon -t texrel_shlib_t /usr/local/apache/modules/libphp5.so
/usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
When compiling php if you get the following error /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied Resolution: Run the following command in Terminal chcon -t texrel_shlib_t /usr/local/apache/modules/libphp5.so
