Sunday, January 13, 2008

PHP permission denied

If you use SeLinux, there is a little bit modification. Because the security problmes, you must tell your system that which modules is trusted. After you run "apachectl start" and the unhappy error shows below:
XXXX. PHP5 cannot restore segment prot afterreloc: Permission denied
You should disable SELinux or issue "chcon -t texrel_shlib_t /usr/local/apache2/modules/*.so"

No comments: