Cannot load /usr/local/zend/lib/apache2/libphp5.so in CentOS

0

I install the CentOS with apache.

But after access to system then apache is’n run. This is notice of apache when I start apache: service httpd start

Starting httpd: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zendserver_php.conf: Cannot load /usr/local/zend/lib/apache2/libphp5.so into server: /usr/local/zend/lib/apache2/libphp5.so: cannot enable executable stack as shared object requires: Permission denied

Cannot load libphp5.so in apache

 

Fix:

uvdevnull give this a try: /usr/bin/execstack -c /usr/local/zend/lib/apache2/libphp5.so

  1. Sudo –i
  2. /usr/bin/execstack -c /usr/local/zend/lib/apache2/libphp5.so
  3. service httpd start

The result:

 

Fix cannot load libphp5.so in apache

 

Good look!

Review this post

100%
100%
Awesome
  • Excellent
    10
  • User Ratings (1 Votes)
    9.7

About Author

Là một developer rất ham chơi nhưng không ham hố, không ham chơi nhưng rất thích cầm đầu...

Comments are closed.

%d bloggers like this: