• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Zend Guard on Compiled PHP - Plesk Obsidian

Ebrahim A. Senejani

New Pleskian
Dear Friends,
I have compile php 5.45 on plesk 18.0.35 by this KB:  How to add a custom PHP version in Plesk for Linux?
Compiled Directory is:
/usr/local/php54/

I need Zend Guard Loader which I have downloaded from: Zend Guard Loader | Zend
I have put the following line in my php.ini which is located in:
/usr/local/php54/etc/php.ini:
zend_extension=/usr/local/php54/ext/ZendGuardLoader.so
and I have put .so file in different directories like ext (/usr/local/php54/ext/) and /usr/local/php54/lib/php/extensions/
but I get the following error in my error.log:

[Wed May 26 19:17:12.482406 2021] [cgid:error] [pid 1672364:tid 140612367890176] [client 127.0.0.1:0] Failed loading ZendGuardLoader.so: ZendGuardLoader.so: cannot open shared object file: No such file or directory: /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
[Wed May 26 19:17:12.487184 2021] [cgid:error] [pid 1672364:tid 140612367890176] [client 127.0.0.1:0] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/vhosts/XXX/httpdocs/info.php on line 2: /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
[Wed May 26 19:17:12.566490 2021] [cgid:error] [pid 1672364:tid 140612342712064] [client 127.0.0.1:0] Failed loading ZendGuardLoader.so: ZendGuardLoader.so: cannot open shared object file: No such file or directory: /var/www/cgi-bin/cgi_wrapper/cgi_wrapper, referer: http://172.16.2.153/plesk-site-preview/<domain.tld>/https/172.16.2.153/info.php
[Wed May 26 19:17:12.576456 2021] [cgid:error] [pid 1672364:tid 140612351104768] [client 127.0.0.1:0] Failed loading ZendGuardLoader.so: ZendGuardLoader.so: cannot open shared object file: No such file or directory: /var/www/cgi-bin/cgi_wrapper/cgi_wrapper, referer: http://172.16.2.153/plesk-site-preview/<domain.tld>/https/172.16.2.153/info.php

and Zend Guard not loaded.
Can you please help me out?
 
If you have another modules in /usr/local/php54/lib/php/extensions/ or in /usr/local/php54/lib64/php/extensions/ you have to put ZendGuardLoader.so in this directory and check that zend_extension= option has correct path. So, try to find location of another modules first.

Just wondering what the use of such a vulnerable and long time ago EOLed PHP version is?
 
Back
Top