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

36 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…

Facing a Git error with the 'vi' editor? Discover how to easily fix it by checking your Vim path and configuring Git to use...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

Learn how to enable MP4 streaming in Apache with the installation of the mod_h264 streaming module, making your video content accessible and efficient. Follow...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV…

Learn how to effortlessly configure Apache for FLV streaming by installing the mod_flvx module and updating your httpd.conf file. Discover the simple steps to...
Sysadmin.ID
15 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *