Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On certain pages on my VPS I get the following error. This happens with multiple VHOSTs. It has happened on both Wordpress and vanilla forums.

It only happens when I run suphp rather than normal php5.

Currently it occurs while viewing certain users profiles on vanilla forum, however it doesn't happen on all profiles.

Any ideas?

[Mon May 07 21:43:07 2012] [error] [client ip] *** stack smashing detected ***: /usr/bin/php-cgi terminated
[Mon May 07 21:43:07 2012] [error] [client ip] Premature end of script headers: index.php
[Mon May 07 21:43:15 2012] [error] [client ip] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
share|improve this question
    
Stack smashing detection is a security feature meant to prevent exploitation of binaries. If it happens accidentally, it is sign of memory failure or a programming error. –  gparent May 9 '12 at 19:53
1  
Also the last error indicates that suhosin is badly installed on your server. That library should be present (the relevant package is php5-suhosin) –  gparent May 9 '12 at 19:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.