Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php issue cpanel

Discussion in 'General Discussion' started by rohit09, Dec 20, 2013.

  1. rohit09

    rohit09 Well-Known Member

    Joined:
    Dec 10, 2010
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    56
    Code:
    [18-Sep-2013 13:57:12 Europe/Moscow] 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
    [18-Sep-2013 13:57:12 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
    [18-Sep-2013 13:57:15 Europe/Moscow] 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
    [18-Sep-2013 13:57:15 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
    [18-Sep-2013 13:57:18 Europe/Moscow] 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
    [18-Sep-2013 13:57:18 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
    [18-Sep-2013 13:57:23 Europe/Moscow] 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
    [18-Sep-2013 13:57:23 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
    [18-Sep-2013 13:57:31 Europe/Moscow] 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
    [18-Sep-2013 13:57:31 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
    [18-Sep-2013 13:58:11 Europe/Moscow] 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
    [18-Sep-2013 13:58:11 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
    how to fix it?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    69
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    recompile php with easyapache
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,786
    Likes Received:
    82
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    To fix above error reinstall suhosin modules on your server through following command

    Code:
    /scripts/phpextensionmgr install PHPSuHosin


    And for the above error install SourceGuardian on your server

    Code:
    /scripts/phpextensionmgr install SourceGuardian
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Maybe those errors could be caused by a local php.ini file, where "extension_dir" is incorrect.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    We will likely need more information in order to provide an accurate resolution. For instance, are you receiving those warning messages on a specific account, or across multiple accounts? What version of PHP is installed on your system? Have you installed Suhosin and SourceGuardian?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I have the same php error....
    tried:
    /scripts/phpextensionmgr install PHPSuHosin
    and it failed with:
    /home/cpeasyapache/phpextensions/suhosin/suhosin-0.9.33/suhosin.c:649: error: âstruct _php_core_globalsâ has no member named âmagic_quotes_gpcâ

    I'm running php 5.4 (and cagefs) - which i believe does not have magic_quotes... I don't enable magix quotes anyway, haven't used them in years.

    PHP built dec 25 using easyapache. Enabled suhosin in easyapache, however looking at php sysinfo shows no suhosin.

    Error is for all accounts.

    Just checked easyapache and one cannot compile suhosin into apache 2.4 and php5.4 - there is no suhosin option. So i guess this is a remnant from apache 2.2 and php5.3. I checked php.ini and its not listed there. So where to look now...?

    Any help appreciated...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #6 rs-freddo, Jan 7, 2014
    Last edited: Jan 7, 2014
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Check to see if there are individual php.ini files within the accounts with references to Suhosin. Also, ensure you restart Apache after any modifications to the default /usr/local/lib/php.ini file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Thanks Michael - problem fixed.

    suhosin.so was in php.ini - after a more careful check i did find it and removed it. You may want to alert the easyapache crew that they need to remove suhosin.so from the extension list when moving from apache 2.2 to 2.4...

    Once php.ini was fixed i needed to restart apache and then issue cagefsctl --force-update. The update skeleton link in cagefs plugin does not work correctly (read "at all"), you must issue the command from the command line.

    Hope this helps somebody else. :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, there is already a thread and internal case open for this issue:

    [Case 62804] PHP Suhosin Warning After Run Easyapache

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice