php5.3安装后不支持ZendGuardLoader

[不指定 2015/09/18 17:05 | by admin ]
| |
centos6.5系统安装apache2.2.4 、php5.3.29后发现怎么也不支持ZendGuardLoader

查看phpinfo.php,发现 Thread Safety为enabled,即线程安全版本。而ZendGuardLoader只支持非线程安全版本的php。

查看apache的编译代码发现使用了:--with-mpm=event

解决方案:

编译apache使用:--with-mpm=prefork
之后再加载 ZendGuardLoader 后成功。


Tags: ,
电脑类 | 评论(0) | 引用(0) | 阅读(223)