[Case 62804] PHP Suhosin Warning After Run Easyapache

cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
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
 
Last edited:

jamesterror

Member
Feb 28, 2013
22
0
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 -

[31-Jul-2013 11:08:25 UTC] 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
We will action on the PHP.ini as per the above post from Michael :)
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
same, where was my post ?
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.