Segmentation fault caused by ZendGuardLoader.so

Started by dg1, September 18, 2017, 12:59:50 PM

Previous topic - Next topic

dg1

It seems, after recompiling using PHP Version Switcher v2, the command line (CLI) version of PHP starts triggering this error:


PHP 5.6.31 (cli) (built: Sep 18 2017 00:20:10)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2015, by Zend Technologies

Segmentation fault


Caused by ZendGuardLoader.so called in /usr/local/php/php.d/zend.ini

Any ideas why?

dg1

Somehow, the PHP Version Switcher re-build created a wrong entry.

Affected file: /usr/local/php/php.d/zend.ini

Code that causes "segmentation fault" error:
extension=/usr/local/zend/5.6/ZendGuardLoader.so

Corrected code (no error)
zend_extension=/usr/local/zend/5.6/ZendGuardLoader.so

FYI

Sandeep