how to install suhosin 0.9.34-dev on php 5.4.17

3
How to install Suhosin 0.9.34-dev on PHP 5.4.17  CENTOS INSTALLATION modération correction  andykimpe thank for your help centos install 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 additional option for php not required 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 download the latest suhosin . Download this file to your /tmp directory: Code: cd /tmp git clone https://github.com/stefanesser/suhosin.git cd suhosin  Install Code: phpize ./configure make make install

Upload: iklananda

Post on 11-Oct-2015

43 views

Category:

Documents


0 download

DESCRIPTION

How to Install Suhosin 0.9.34-Dev on PHP 5.4.17

TRANSCRIPT

How to install Suhosin 0.9.34-dev on PHP 5.4.17CENTOS INSTALLATION

modration correctionandykimpethank for your help

centos install php 5.4sourceCode: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 additional option for php

not required but recommendedCode: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 download the latest suhosin . Download this file to your /tmp directory:Code:cd /tmpgit clone https://github.com/stefanesser/suhosin.gitcd suhosin

InstallCode:phpize./configuremakemake installcp suhosin.ini /etc/php.d/service httpd restart

php info versionCode:php -v

resultCode:PHP 5.4.23 (cli) (built: Dec 13 2013 12:56:34)Copyright (c) 1997-2013 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologieswith Zend OPcache v7.0.2, Copyright (c) 1999-2013, by Zend Technologieswith Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethanswith Suhosin v0.9.34-dev, Copyright (c) 2007-2012, by SektionEins GmbH

ps info

will be added in the future ZPanel deposit of centos

git 1.9-rc0

wget 1.15

zpapr internal apache apr 1.5.0 for zpanel

zpapr-util internal apache apr-util 1.5.3 for zpanel

zphttpd internal apache httpd 2.2.26 for zpanel (latest version compatible with php on centos)

reason

the superior version are not compatible with php

on the version of linux running a kernel supeior or equal to 2.6

kernel 2.6 apache 2.3 and php or superior apache version equal blank page

zpphp internal php 5.4.24 for zpanel (latest version compatible with suhosin)

zpphp-suhosin suhosin-9.34-dev

to see the spec file gohere

deposit is not yet and the list is still incomplete

the aim being to avoid installation problem and install directly from yumCode:yum -y install zpanelx

Thank you very much.

I hope this could be useful .