Just recompiled using EasyApache and Zend Guard is selected. PHP Version is 5.3.15 (no PHP 4 installed).
Log file clearly shows:
-- Begin opt 'Zend Guard Loader for PHP' --
-- Begin step 'Install Zend Optimizer' --
Determining PHP version
Installing Zend Guard Loader binary
Activating Zend Guard Loader in /usr/local/lib/php.ini
Zend Guard activated.
-- End step 'Install Zend Optimizer' --
-- End opt 'Zend Guard Loader for PHP' --
Yet, a customer who has purchased a script that is protected with Zend Guard is getting this message when visiting his new site:
Zend Optimizer not installed
This file was encoded by the Zend Guard. In order to run it, please install the Zend Optimizer (available without charge), version 3.0.0 or later.
Seeing this message instead of the website you expected?
This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:
The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.
I then tried running /scripts/installzendopt
Output is as follows:
Updating md5sum list
Fetching
http://httpupdate.cpanel.net/cpanelsync/easy/targz.yaml (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net......searching for mirrors (mirror search attempt 1/3)......loaded mirror speeds from cache......mirror search success......connecting to
[email protected]%......request success......Done
Installing Zendopt
Determining PHP version
Installing Zend Guard Loader binary
Activating Zend Guard Loader in /usr/local/lib/php.ini
Zend Guard activated.
Skipping install to /usr/local/php4, missing php.ini
If you put a phpinfo file in place, and look for installed modules, only ioncube loader shows up.
Additional Modules
Module Name
ionCube Loader
So Zend Guard Loader (even though selected during EasyApache, is NOT getting installed (or not in the correct location).
Running cPanel Version:
WHM 11.32.3 (build 23)
CENTOS 5.8 x86_64 standard
- - - Updated - - -
Forgot to mention...
ZendGuardLoader.so is found in:
/usr/local/Zend/lib/Guard-5.5.0/php-5.3.x
I'm wondering if that is the correct location???
Another update...
Ran this from the command line on a server where ZendGuard is installed (and apparently working fine):
# php -m | grep -i zend
Output:
Zend Guard Loader
[Zend Modules]
Zend Guard Loader
Ran the same command on the server in question:
# php -m | grep -i zend
[Zend Modules]
So, it is not installing it.