How to install zend
I tried to install zend by: /scripts/installzendopt
However this code return that zend is not installed:
[PHP]
if(!function_exists('zend_optimizer_version')) echo 'Install Zend Optimizer';
else echo 'Zend Optimizer version: '.zend_optimizer_version();
?>[/PHP]
Also when i access zend file i got error like:
Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Loader expects 4 in /home/username/public_html/domain.com/index.php on line 0
Can anyone assist me?
-
AFAIK you install Zend Optimizer in EasyApache. 0 -
/scripts/installzendopt is an old script cpanel should depreciate it :( 0 -
Try to install it with the following command /scripts/phpextensionmgr install Zendopt
/scripts/phpextensionmgr list Available Extensions: EAccelerator IonCubeLoader Zendopt Xcache SourceGuardian PHPSuHosin0 -
I try your suggestion, successfully installed. Screenshot [url=http://prntscr.com/1wh5vl]Screenshot by Lightshot I restarted Apache but still Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Loader expects 4 in /home/.... [quote="24x7server, post: 1479382">Try to install it with the following command /scripts/phpextensionmgr install Zendopt
/scripts/phpextensionmgr list Available Extensions: EAccelerator IonCubeLoader Zendopt Xcache SourceGuardian PHPSuHosin0 -
Hello, I can see you are using PHP 5.3 on your server and Zend Optimizer isn"t compatible with PHP 5.3. version. 0 -
[quote="24x7server, post: 1479721"> I can see you are using PHP 5.3 on your server and Zend Optimizer isn"t compatible with PHP 5.3. version.
Yes, in 5.3 it's called Zend Guard Loader.0 -
Hello :) Yes, please try re-encoding your PHP script for PHP 5.3 to resolve the "Incompatible file format" error message. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments