每当我尝试访问 Web 根目录中使用 Zend Guard 编码的 php 文件时,我都会遇到 seg 错误。我用来编码该文件的 ZendGuard 设置为 php5,我在 apache 上运行的 php 版本是 5.5.9。我已将以下内容添加到 /etc/php5/apache2/php.ini:
zend_extension=/usr/lib/php5/20121212/ZendGuardLoader.so
zend_loader.enable=1
zend_extension=/usr/lib/php5/20121212/opcache.so
opcache.enable=1
这就是我的 /var/log/apache2/error.log 中显示的内容
[Tue Oct 11 11:01:11.147536 2016] [core:notice] [pid 5356] AH00051: child pid 5359 exit signal Segmentation fault (11), possible coredump in /etc/apache2