ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
就在昨晚折腾 Permission denied: access to * denied 问题时,还有就是 ZendGuardLoader 无法安装,最开始怀疑是不是 XCache Zend Guard Loader Zend OPcache 在 php.ini 中顺序问题,结果调整后不是,查看日志: Failed loading /usr/lib64/php/modules/ZendGuardLoader.so: /usr/lib64/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied 没有权限,为了把客户的WordPress缓存优化做到极致,不得不尝试各种方法,用 Chown 改变 apache或 root 权限,chmod 增加写入权限,还是不行,后来终于找到原因了,SELinux 的原因,需要把SELinux关闭,然后重启apache。 …