Suhosin Extension does not officially support PHP 5.2

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
378
10
168
Latvia
cPanel Access Level
Root Administrator
Suddenly one of customers noticed quite big error_log file full of the messages:

Code:
PHP Warning:  PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0
We had to downgrade suHosin to fix this.

Code:
# download and install older suhosin
wget http://download.suhosin.org/suhosin-0.9.31.tgz
tar zxf suhosin-0.9.31.tgz
cd suhosin-0.9.31
phpize
./configure
make
make install
/etc/init.d/httpd restart
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,606
33
238
somewhere over the rainbow
cPanel Access Level
Root Administrator
You would likely want to add this additional information:

http://forums.cpanel.net/f5/problem-install-suhosin-259741.html#post1088361

This ensures it isn't added back to Apache during EasyApache recompile and that the suhosin.so file remains in the required directory. The steps would be something like "/usr/local/cpanel/scripts/phpextensionmgr uninstall PHPSuHosin" first, then running the commands you've noted (and that I note in a prior post in that linked thread), then the other commands after that mentioned in my post.