How To Install Suhosin 0.9.34-Dev On PHP 5.4.17
How To Install Suhosin 0.9.34-Dev On PHP 5.4.17
17
CENTOS INSTALLATION
modrati on correcti on andyki mpe thank for your hel p
centos i nstal l php 5.4 source
Code:
yum -y install http://mirror.webtatic.com/yum/el6/latest.rpm
Code:
yum -y install yum-plugin-replace
Code:
yum -y replace php-common --replace-with=php54w-common
add addi ti onal opti on for php
not requi red but recommended
Code:
yum -y install php54w-bcmath php54w-dba php54w-embedded php54w-enchant
php54w-fpm php54w-interbase php54w-ldap php54w-mssql php54w-odbc php54w-
pecl-apc php54w-pecl-memcache php54w-pecl-zendopcache php54w-pecl-xdebug
php54w-pgsql php54w-process php54w-pspell php54w-recode php54w-snmp php54w-
soap php54w-tidy php54w-xmlrpc
We have to downl oad the l atest suhosi n . Downl oad thi s fi l e to your /tmp di rectory:
Code:
cd /tmp
git clone https://github.com/stefanesser/suhosin.git
cd suhosin
Instal l
Code:
phpize
./configure
make
make install
cp suhosin.ini /etc/php.d/
service httpd restart
php i nfo versi on
Code:
php -v
resul t
Code:
PHP 5.4.23 (cli) (built: Dec 13 2013 12:56:34)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.2, Copyright (c) 1999-2013, by Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
with Suhosin v0.9.34-dev, Copyright (c) 2007-2012, by SektionEins GmbH
ps i nfo
wi l l be added i n the future ZPanel deposi t of centos
gi t 1.9-rc0
wget 1.15
zpapr i nternal apache apr 1.5.0 for zpanel
zpapr-uti l i nternal apache apr -uti l 1.5.3 for zpanel
zphttpd i nternal apache httpd 2.2.26 for zpanel (l atest versi on compati bl e wi th php on centos)
reason
the superi or versi on are not compati bl e wi th php
on the versi on of l i nux runni ng a kernel supei or or equal to 2.6
kernel 2.6 apache 2.3 and php or superi or apache versi on equal bl ank page
zpphp i nternal php 5.4.24 for zpanel (l atest versi on compati bl e wi th suhosi n)
zpphp-suhosi n suhosi n-9.34-dev
to see the spec fi l e go here
deposi t i s not yet and the l i st i s sti l l i ncompl ete
the ai m bei ng to avoi d i nstal l ati on probl em and i nstal l di rectl y from yum
Code:
yum -y install zpanelx
Thank you very much.
I hope thi s coul d be useful .