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.

Apache 2.2.6 suhosin.so/ ioncube loader/ Zend 3.3.0 error

Discussion in 'EasyApache' started by mtech-hosting, Sep 13, 2007.

  1. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Im not certain what you'd need but selecting suhosin along with Zend and compiling, it logs an error as:

    php -v
    /usr/local/ioncube/ioncube_loader_lin_5.2_ts.so doesn't appear to be a valid Zend extension
    /usr/local/Zend/lib/ZendExtensionManager_TS.so doesn't appear to be a valid Zend extension
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/suhosin.so' - /usr/local/lib/php/extensions/suhosin.so: undefined symbol: output_globals in Unknown on line 0
    PHP 5.2.4 (cli) (built: Sep 13 2007 15:45:19)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

    As you can see also, it will not load ioncube whatsoever. I have tried about every possible combination of loading ioncube loaders, it just will not work.
     
  2. cPanelBilly

    cPanelBilly Guest

    Please open a support ticket regarding this.
     
  3. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Ticket opened #211846

    Thanks
     
  4. cPanelBilly

    cPanelBilly Guest

    Also did you follow the advice given at the end of the build?

    Code:
    !! If you experience a non functional PHP binary you may need to update zend optimizer.
    You can do so by running /scripts/installzendopt 
    (easyapache can not run it for you because the way zend does 
            their installer and license it requires user input and can not be scripted)
    Alternatively, you may need to comment out the zend related directives in your php.ini file.
    Note that PHP 5 support is only in Zend Opt 3.3.0 and later according to the PHP folks. 
    Even that support has proven unreliable so you may have to choose between PHP 5 and Zend optimizer.
    Additionally, it be necessary to reinstall any extensions that are loaded in the php.ini file.
     !!
     
  5. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Yes i have done that. what i did was run the zend installer both times, one for each php version so i have /usr/local/Zend for php5 and /usr/local/Zend/php4 for php4 and the Zend extensions paths are correct for both. The installed Zend version is 3.3.0 which is the latest i believe.

    I have no idea why if its a default install that its saying that the Zend extensions are not valid ?
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    You didn't by chance enable SafePHPCGI ?

    This is incompatible with zend.
     
  7. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    The first time i updated everything i did have that enabled, then i found some obscure post in the forums saying it wasnt compatible so i disabled it and upgraded again. Looks to be about the same errors though.

    Now I just read somewhere that worker MPM is not compatible with Zend 3.3.0 Any thoughts on this before i try to do an install for the third time because i do have worker.c enabled
     
  8. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Didn`t know about SafePHPCgi being a trouble maker. Recompiling without it.
     
  9. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Just noticed something else also. when i run:

    /usr/bin/php -v i get:

    Code:
    PHP 5.2.4 (cgi-fcgi) (built: Sep 13 2007 15:50:00)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    But when i run just php -v i get:

    Code:
    /usr/local/ioncube/ioncube_loader_lin_5.2_ts.so doesn't appear to be a valid Zend extension
    /usr/local/Zend/lib/ZendExtensionManager_TS.so doesn't appear to be a valid Zend extension
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/suhosin.so' - /usr/local/lib/php/extensions/suhosin.so: undefined symbol: output_globals in Unknown on line 0
    PHP 5.2.4 (cli) (built: Sep 13 2007 15:45:19)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Do you have a link to that info about Zend + worker MPM?

    It appears (I'm in the process of confirming with several test builds) that suhosin + (any zend extension) is problematic, especially when using the PHP 4 + 5 concurrent setup. One element I have confirmed is in a concurrent PHP setup, Suhosin is compiled against PHP 4 and installed, but never done for PHP 5. PHP 5 is installed as the system default and tries to load the Suhosin extension built against PHP 4.
     
  11. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
  12. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page