• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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