cPanel :: PHP Startup: Suhosin Extension does not officially support PHP 5.2

35 sec read

:: error

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

 

:: How to fix PHP Startup: Suhosin Extension does not officially support PHP 5.2
just downgrade Suhosin from 0.9.33 to 0.9.31.

+ remove Suhosin from easyapache php config

/scripts/phpextensionmgr uninstall PHPSuHosin

+ download older Suhosin

wget //download.suhosin.org/suhosin-0.9.31.tgz
tar zxf suhosin-0.9.31.tgz

+ installing Suhosin

cd suhosin-0.9.31
phpize
./configure
make && make install 

+ configure php.ini

vi /usr/local/lib/php.ini
; add this line:
extension="suhosin.so"

+ checking

php -v
PHP 5.2.17 (cli) (built: Sep  7 2012 15:48:36)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
    with Suhosin v0.9.31, Copyright (c) 2007-2010, by SektionEins GmbH

+ restarting httpd

/etc/init.d/http restart

:: Links
+ Google

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
SysadminID
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
SysadminID
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
SysadminID
15 sec read