The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to install zend

Discussion in 'General Discussion' started by batoo, Oct 10, 2013.

  1. batoo

    batoo Member

    Joined:
    May 1, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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();
    ?>

    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?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    AFAIK you install Zend Optimizer in EasyApache.
     
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    /scripts/installzendopt is an old script cpanel should depreciate it :(
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Try to install it with the following command

    Code:
    /scripts/phpextensionmgr install Zendopt
    Code:
    /scripts/phpextensionmgr list
    Available Extensions:
    EAccelerator
    IonCubeLoader
    Zendopt
    Xcache
    SourceGuardian
    PHPSuHosin
     
  5. batoo

    batoo Member

    Joined:
    May 1, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I try your suggestion, successfully installed. Screenshot 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/....

     
  6. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I can see you are using PHP 5.3 on your server and Zend Optimizer isn’t compatible with PHP 5.3. version.
     
  7. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Yes, in 5.3 it's called Zend Guard Loader.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page