Cannot load /usr/local/zend/lib/apache2/ in CentOS

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/ into server: /usr/local/zend/lib/apache2/ cannot enable executable stack as shared object requires: Permission denied

Cannot load in apache



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

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

The result:


Fix cannot load in apache


Good look!