Introduction: This is a detailed page on which PHP does not support loading libphp5. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 333672 'rolling = 'no'>
Cannot load/usr/local/apache2/modules/libphp5.so into server:/usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
After PHP is installed
Apache2 cannot be started
The following error is reported when you restart Apache.
The reason is that Linux has a SELinux protection mode.
Syntax Error on line 268 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
Solution
2. Do not disable SELinux:
# Setenforce 0
# Chcon-C-v-r-u system_u-r object_r-T textrel_shlib_t/usr/local/Apache/modules/libphp5.so
# Service httpd restart
# Setenforce 1
More articles about "php does not support loading libphp5"
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/333672.html pageno: 11.