Zend Guard Loader php56 and old glibc

General discussion on Zend Guard / Optimizer

Zend Guard Loader php56 and old glibc

Postby serg8536 on Mon Jan 09, 2017 12:10 pm

Hello,

I have self-compiled php56 which build over centos5 (glibc 2.5)
I have downloaded zend-loader-php5.6-linux-i386 package
and it failed to run because it requires more fresh glibc

[root@alpaca-dev ~]# ldd /root/zend-loader-php5.6-linux-i386/ZendGuardLoader\.so
/root/zend-loader-php5.6-linux-i386/ZendGuardLoader\.so: /lib/i686/nosegneg/libc\.so\.6: version `GLIBC_2.7' not found (required by /root/zend-loader-php5.6-linux-i386/ZendGuardLoader\.so)


are any solutions to fix this problem ?
maybe zend provide binaries which support glibc 2.5 for centos 5 and php56

Thanks
serg8536
 
Posts: 2
Joined: Mon Jan 09, 2017 11:45 am

Re: Zend Guard Loader php56 and old glibc

Postby zvika on Mon Jan 09, 2017 8:45 pm

Hello
There is no other build of Zend Loaders besides the default ones, tested against distro PHP of latest CentOS / Debian / Ubuntu / Windows / Mac versions (check system requirements of Zend Guard and Zend Server, which also includes Guard Loader builds in its runtime, upto PHP 5.6).
You can try to dynamically link new glibc to the binary, as you can do with missing libraries, but its (highly) not recommend and surely untested.

Hope this helps.
Zvika Dror
Zend Support Team
User avatar
zvika
Zend Global Support
 
Posts: 983
Joined: Sun Dec 14, 2008 9:48 am

Re: Zend Guard Loader php56 and old glibc

Postby serg8536 on Tue Jan 10, 2017 5:58 pm

I have access to cpanel + CloudLinux server


root@server [~]# cat /etc/redhat-release
CloudLinux Server release 5.11 (Vladislav Volkov)

root@server [~]# ldd --version
ldd (GNU libc) 2.5

root@server [~]# php -v
PHP 5.6.29 (cli) (built: Dec 28 2016 01:47:20)
with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies

root@server [~]# ldd /usr/local/Zend/lib/Guard-7.0.0/php-5.6.x/ZendGuardLoader\.so
...
libc\.so\.6 => /lib/libc\.so\.6 (0x00e5a000)
...


I see that such binary of zend-guard-loader exists which linked agains old glibc + php56

I am not sure where cpanel got this binary
maybe it's some partnership with zend ?
is it possible to get such binary from zend for my own server ?

Thanks
serg8536
 
Posts: 2
Joined: Mon Jan 09, 2017 11:45 am

Re: Zend Guard Loader php56 and old glibc

Postby zvika on Tue Jan 10, 2017 7:13 pm

There are no special builds or partnership, we do not support or endorse the mentioned control panel and cloud system.
The file path resembles a normal Guard Loader from Zend Guard 7 branch, for PHP 5.6
Zvika Dror
Zend Support Team
User avatar
zvika
Zend Global Support
 
Posts: 983
Joined: Sun Dec 14, 2008 9:48 am


Return to Zend Guard / Optimizer

Who is online

Users browsing this forum: No registered users and 1 guest