This is how I am compiling PHP 5.6.11 with apache2 2.4.16 on cenOS 6.7:

But when I include ioncube loader in php.ini with:

It starts giving me this error on php version check:

php -v Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.6.so:

/usr/lib64/php/modules/ioncube_loader_lin_5.6.so: undefined symbol:
executor_globals PHP 5.6.11 (cli) (built: Dec 28 2015 17:35:58)
Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright
(c) 1998-2015 Zend Technologies

I am also sure about the extension directory, because I get this:

php -i | grep extension_dir Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.6.so:

/usr/lib64/php/modules/ioncube_loader_lin_5.6.so: undefined symbol:
executor_globals extension_dir => /usr/lib64/php/modules/ =>
/usr/lib64/php/modules/ sqlite3.extension_dir => no value => no value

So, I have put ioncube_loader_lin_5.6.so in modules directory.

Meanwhile I am getting blank screen on ioncube encoded page. I have tried to figure out the error "undefined symbol: executor_globals" which generally comes when there is a version difference between php and ioncube. But I am using the correct loader 5.6 for php 5.6.11.

Please help me get out of this nasty thing.

Show more