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.

[Case 62804] PHP Suhosin Warning After Run Easyapache

Discussion in 'EasyApache' started by cgimickalo, Jul 21, 2013.

  1. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Hello,

    earlier today we ran the Easyapache to upgrade PHP to Ver., 5.4.17 (cli) and everything went fine, no problems. According to the log it all passed. then one of our customers noticed a error_log being created with the following error warning:

    Code:
    [21-Jul-2013 11:45:01 America/Chicago] PHP Warning:  PHP Startup: Unable to load 
    dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' 
    - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: 
    cannot open shared object file: No such file or directory in Unknown on line 0
    
    I looked in the directory and this suhosin.so file is not there now, but was in the previous PHP version in the extensions. Is there an easy way to correct this problem or do I need to rerun Easyapache to correct this?

    thanks,

    Mike
     
  2. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Suhosin doesn't currently support PHP v5.4.x or newer and will not compile
     
  3. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Ok thanks that's what I thought. Is there any type of work around for this or do we just wait till it's supported?

    Mike
     
  4. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Development of Suhosin appears to have stopped a while ago, therefore support for this does not look favourable currently.
     
  5. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    It appears this is the case. Appreciate the info.

    Mike
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There is an internal case open to ensure the Suhosin module is actively disabled when PHP 5.4 is selected. For reference, the case number is 62804.

    Thank you.
     
  7. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    I guess my question is if the PHP scripts are currently using this Suhosin library, is there anything that can be done as far as getting around this issue?? I am not a PHP programmer so this is somewhat new to me.

    Mike
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You should check the global php.ini file (/usr/local/lib/php.ini) and any php.ini files within the individual accounts for references to Suhosin. Removing these entries should prevent the error messages from occurring.

    Thank you.
     
  9. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Thanks I will give that a try. Although even with these errors it doesn't seem to really effect the function of the scripts in question as far as I know.

    That seem to do the trick no more warnings in the error log now, thanks again.
    Mike
     
    #9 cgimickalo, Jul 22, 2013
    Last edited: Jul 22, 2013
  10. jamesterror

    jamesterror Member

    Joined:
    Feb 28, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    We are having a similar issue, one problem that is stemming from this is the size of the error logs that are being created.

    One of our customers has reported that he deleted his error log file, and within a minute or so later it was re-created and over 100mb with the error -

    We will action on the PHP.ini as per the above post from Michael :)
     
    #10 jamesterror, Jul 31, 2013
    Last edited: Jul 31, 2013
  11. XenomediaBV

    XenomediaBV Well-Known Member

    Joined:
    Sep 3, 2009
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Hmmm, I submitted a post in this thread on 30/7 about this issue and my findings on our servers. Strangely enough my post is disappeared?
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I moved your post to a new thread because it was related to a different error message:

    homeloader.so Warning After Running Easyapache

    Thank you.
     
  13. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    same, where was my post ?
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Your post was moved into it's own thread at:

    PHP Suhosin Replacement

    Let's try to keep discussions on this thread on topic, as it's specifically related to the Suhosin entry in the php.ini file on PHP 5.4.

    Thank you.
     
Loading...
Similar Threads - [Case 62804] PHP
  1. guldvog
    Replies:
    10
    Views:
    1,675

Share This Page