Results 1 to 9 of 9

Thread: Zend Optimizer not installed

  1. #1
    Registered Member
    Join Date
    Feb 2011
    Posts
    35

    Default Zend Optimizer not installed

    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. #2
    Registered Member
    Join Date
    Jan 2011
    Posts
    501
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Zend Optimizer not installed

    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. #3
    Registered Member
    Join Date
    Feb 2011
    Posts
    35

    Default Re: Zend Optimizer not installed

    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. #4
    Registered Member
    Join Date
    Feb 2011
    Posts
    35

    Default Re: Zend Optimizer not installed

    Support has sorted it for me now

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Zend Optimizer not installed

    Hello Bashy, could you please indicate what was the issue and how it was resolved? Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  6. #6
    Registered Member
    Join Date
    Feb 2011
    Posts
    35

    Default Re: Zend Optimizer not installed

    Hi Tristan, hope this helps

    Reply from Ken in support

    I reset your php.ini back to default with `/scripts/phpini` with a backup of your original php.ini at /usr/local/lib/php.ini.bak. I then installed Zend Optimizer with `/scripts/phpextensionmgr install Zendopt`.
    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. #7
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,695
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Zend Optimizer not installed

    Quote Originally Posted by Bashy View Post
    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 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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  8. #8
    Registered Member
    Join Date
    Feb 2011
    Posts
    35

    Default Re: Zend Optimizer not installed

    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. #9
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,695
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Zend Optimizer not installed

    You are most welcome. I am glad I was able to help.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads

  1. Zend Optimizer not installed
    By Zion Ahead in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-13-2008, 06:02 PM
  2. Zend Optimizer installed, not registering
    By PDW in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 01-25-2008, 10:44 AM
  3. Zend Optimizer not installed
    By cLub2Share in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-27-2006, 08:21 PM
  4. Do I really need both Zend optimizer and MMCache installed together?
    By ttk_2k in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 01-24-2005, 10:40 AM
bargain