• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

ZendGuardLoader doesn't show in results of phpinfo()

B

batiskaff

Guest
Hello, guys!

I have this configuration of my server:
CentOS 5.6
Plesk 10.X
PHP 5.3.3 (as FastCGI for my current project with custom php.ini)
Zend Guard Loader 3.3

If I check php from a command line I see
# php -v
PHP 5.3.3 (cli) (built: Mar 30 2011 13:51:54)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

But I don't see Zend Guard Loader in phpinfo();
I wrote into my custom php.ini necessary directives like in global /etc/php.d/zend.ini
but it doesn't work w/o errors in logs

The custom file (php.ini) works because other directives get me right results.
For example, it works
PHP:
open_basedir = /var/www/vhosts/site.tld/path:/tmp
safe_mode = Off
date.timezone=Europe/Moscow[/QUOTE]
but this
[QUOTE][Zend]
; comment out next line to disable Zend Guard extension in php
zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
zend_loader.enable=1
[/QUOTE]
doesn't work...

On forums they say that I should do like this
[QUOTE]
setenforce 0
/etc/init.d/httpd restart
setenforce 1
[/QUOTE] 
but I think that this is not good idea, because it can work utill httpd restarts next time, moreover it may crash the server.

Also I suspect that there is an other way to do it...

Can anybody help me?
 
Last edited by a moderator:
Back
Top