Skip to main content

php issue cpanel

Comments

8 comments

  • dalem
    recompile php with easyapache
    0
  • 24x7server
    Hello, [QUOTE][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
    To fix above error reinstall suhosin modules on your server through following command /scripts/phpextensionmgr install PHPSuHosin
    [QUOTE][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
    And for the above error install SourceGuardian on your server /scripts/phpextensionmgr install SourceGuardian
    0
  • quietFinn
    Maybe those errors could be caused by a local php.ini file, where "extension_dir" is incorrect.
    0
  • cPanelMichael
    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.
    0
  • rs-freddo
    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...
    0
  • cPanelMichael
    [quote="rs-freddo, post: 1543892">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...?
    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.
    0
  • rs-freddo
    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
    0
  • cPanelMichael
    [quote="rs-freddo, post: 1544451">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...
    Yes, there is already a thread and internal case open for this issue: [Case 62804] PHP Suhosin Warning After Run Easyapache Thank you.
    0

Please sign in to leave a comment.