Search This Blog

Friday, June 5, 2009

Fix error start apache :Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment p

Error:

httpd: Syntax error on line 53 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

Fix:chcon -t texrel_shlib_t /usr/local/apache2/modules/libphp5.so

No comments:

Post a Comment