• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

[BUG] 12.5.x ZendGuard and ioncube fails

Elompenta

Regular Pleskian
I use the additional Plesk PHP Interpreter Versions php5.2 - php5.6 as fcgi with activated ioncube extension.

If I add the ZendGuard Loader via vhost php ini settings the vhost doesnt work
Code:
zend_extension=/<dir>/ZendGuardLoader.so

Reason is that the ioncube extension must load before zendguard loader

This workarounf works:
- deactivate Plesk own ioncube Extension
- add the following to php.ini
Code:
zend_extension=/usr/lib/php5/20100525/ioncube_loader_lin_5.4.so
zend_extension=/<dir>/ZendGuardLoader.so
 
Thanks for comittmend - But Plesk ioncube extension doesnt respect, that zendguard must be load before.

How i get the information that the Plesk Dev Team has recognized this bug and have list them to the Roadmap?
 
I use the additional Plesk PHP Interpreter Versions php5.2 - php5.6 as fcgi with activated ioncube extension.

If I add the ZendGuard Loader via vhost php ini settings the vhost doesnt work
Code:
zend_extension=/<dir>/ZendGuardLoader.so

Reason is that the ioncube extension must load before zendguard loader

This workarounf works:
- deactivate Plesk own ioncube Extension
- add the following to php.ini
Code:
zend_extension=/usr/lib/php5/20100525/ioncube_loader_lin_5.4.so
zend_extension=/<dir>/ZendGuardLoader.so
Do you have read my initial post? :-D
I've wrote the same - But if we use Plesk it doesnt work out of the box - only with special configuration

So it must be fixed in the Plesk Backend
 
Hello,

You should enable ZendLoader extension server wide, not per virtual host site. For instance for plesk-php53 on CentOS 6:

Code:
# tar -zxf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
# cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so /opt/plesk/php/5.3/lib/php/modules/
# cat<<EOT > /opt/plesk/php/5.3/etc/php.d/10-zend-loader.ini
zend_extension=ZendGuardLoader.so
EOT
# /opt/plesk/php/5.3/bin/php -m
...
zlib

[Zend Modules]
XCache Cacher
Zend Guard Loader
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)
 
Last edited:
Back
Top