1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Zend Optimizer not installed

Discussion in 'General Discussion' started by Bashy, Feb 20, 2011.

  1. Bashy

    Bashy Member

    Joined:
    Feb 20, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hi folks

    I am getting an error saying Zend isnt installed but do I have Zend installed

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

    I am assuming its a php.ini configuration issue? im on centos if that makes any difference?
    Any advice please?

    Regards

    Bashy
     
  2. LinuxTechie

    LinuxTechie Member

    Joined:
    Jan 22, 2011
    Messages:
    501
    Likes Received:
    0
    Trophy Points:
    16
    Hello Bashy,

    Can you run this cpanel script from SSH /scripts/installzendopt. This will install zend optimizer in the server. Between which PHP version are you using? If you are in 5.3+ , you need to install Zend Guard Loader for proper working of scripts.
     
  3. Bashy

    Bashy Member

    Joined:
    Feb 20, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hi

    Thanks for the reply, Zend already is installed but i ran that command i got the info below...

    Installing Zendopt
    Determining PHP version
    Installing Zend Optimizer binary
    Activating Zend Optimizer in /usr/local/lib/php.ini
    Zend Optimizer activated
    Skipping install to /usr/local/php4, missing php.ini
    root@hosting [~]#


    I also have this line only in my usr/local/lib/php.ini

    ; Local Variables:
    ; tab-width: 4
    ; End:

    zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"

    Still get the error though :(
     
  4. Bashy

    Bashy Member

    Joined:
    Feb 20, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Support has sorted it for me now
     
  5. cPanelTristan

    cPanelTristan Active Member
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,621
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    Hello Bashy, could you please indicate what was the issue and how it was resolved? Thanks!
     
  6. Bashy

    Bashy Member

    Joined:
    Feb 20, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hi Tristan, hope this helps

    Reply from Ken in support

    I am not 100% sure what the actual issue was, perhaps a misconfiguration, but Ken sorted it with the above...
    Although... I do think there is an issue with Zend still even though it is working now i have created a new post about it
    as its a different error...
     
  7. cPanelJared

    cPanelJared cPanel Staff
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    12
    Trophy Points:
    38
    Location:
    Houston, TX
    I would like to clarify something is a frequent point of confusion. In the output of php -v, you will see Zend Engine mentioned. This is not Zend Optimizer. Even though the names are similar, Zend Engine and Zend Optimizer are different but related items.

    Zend Engine is actually the engine around which PHP is built. The Zend Engine version is always reported in PHP's version information, whether or not Zend Optimizer is installed. For example, look at the output from a test server that does not have Zend Optimizer installed:

    Code:
    # php -v
    PHP 5.2.13 (cli) (built: Apr 15 2010 11:07:30) 
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
        with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
    Zend Optimizer is a PHP extension that decodes PHP scripts that have been "optmized", or made into a type of pseudo-machine-code for faster execution when executed. If Zend Optimizer is installed, it will explicitly state that it is:

    Code:
    # php -v
    PHP 5.2.13 (cli) (built: Apr 15 2010 11:07:30) 
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
        with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
        with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
    Note that, with Zend Optimizer installed, there are now two mentions of Zend. Unless you specifically see Zend Optimizer in the output of php -v, Zend Optimizer is not installed.

    I hope this is helpful. Frequently - and I can completely understand why this happens - users see Zend and assume that Zend Optimizer is installed, when it is not, and I wanted to take the opportunity and try to clarify this not just for you but for other users as well.
     
  8. Bashy

    Bashy Member

    Joined:
    Feb 20, 2011
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hi Jared, thanks for the reply and clarification...

    It looks like i have both (now) but looking at my original post it wasnt :)

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

    Thanks again for the clarification....
     
  9. cPanelJared

    cPanelJared cPanel Staff
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    12
    Trophy Points:
    38
    Location:
    Houston, TX
    You are most welcome. I am glad I was able to help.
     

Share This Page