I keep getting errors related to Suhosin when trying to compile PHP 5.3.6. See below, would like to get PHP updated.
Any help is appreciated, tried several times.
Here is my configuration
I have "Suhosin", "Mail Header Patch" and "APC" selected.
Code:
**LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1304211076.5.log
=============================================================
Preparing all source code for building PHP 5.3.6 with LSAPI
=============================================================
Sat Apr 30 17:51:16 PDT 2011
Changing to build directory /usr/local/lsws/phpbuild
php-5.3.6.tar.gz already downloaded, use the saved copy.
Extracting PHP source archive: tar -zxf php-5.3.6.tar.gz
Suhosin is enabled
Retrieving Suhosin patch from http://download.suhosin.org/suhosin-patch-5.3.4-0.9.10.patch.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 41092 100 41092 0 0 51648 0 --:--:-- --:--:-- --:--:-- 74577
Extracting Suhosin patch: gunzip -f suhosin-patch-5.3.6.patch.gz
Patching source with Suhosin patch
patching file Zend/Makefile.am
patching file Zend/Zend.dsp
patching file Zend/ZendTS.dsp
patching file Zend/zend.c
patching file Zend/zend.h
Hunk #2 succeeded at 777 with fuzz 2 (offset 3 lines).
patching file Zend/zend_alloc.c
Hunk #1 FAILED at 18.
Hunk #6 succeeded at 340 (offset 4 lines).
Hunk #7 succeeded at 435 (offset 4 lines).
Hunk #8 succeeded at 470 (offset 4 lines).
Hunk #9 succeeded at 546 (offset 4 lines).
Hunk #10 succeeded at 632 (offset 4 lines).
Hunk #11 succeeded at 792 (offset 4 lines).
Hunk #12 succeeded at 802 (offset 4 lines).
Hunk #13 succeeded at 826 (offset 4 lines).
Hunk #14 succeeded at 839 (offset 4 lines).
Hunk #15 succeeded at 859 (offset 4 lines).
Hunk #16 succeeded at 924 (offset 4 lines).
Hunk #17 succeeded at 954 (offset 4 lines).
Hunk #18 succeeded at 972 (offset 4 lines).
Hunk #19 succeeded at 1005 (offset 4 lines).
Hunk #20 succeeded at 1107 (offset 4 lines).
Hunk #21 succeeded at 1154 (offset 4 lines).
Hunk #22 succeeded at 1207 (offset 10 lines).
Hunk #23 succeeded at 1220 (offset 10 lines).
Hunk #24 succeeded at 1243 (offset 10 lines).
Hunk #25 succeeded at 1317 (offset 10 lines).
Hunk #26 succeeded at 1706 (offset 10 lines).
Hunk #27 succeeded at 1720 (offset 10 lines).
Hunk #28 succeeded at 1803 (offset 10 lines).
Hunk #29 succeeded at 1830 (offset 10 lines).
Hunk #30 succeeded at 1909 (offset 10 lines).
Hunk #31 succeeded at 1933 (offset 10 lines).
Hunk #32 succeeded at 1942 (offset 10 lines).
Hunk #33 succeeded at 1958 (offset 10 lines).
Hunk #34 succeeded at 1973 (offset 10 lines).
Hunk #35 succeeded at 1988 (offset 10 lines).
Hunk #36 succeeded at 2009 (offset 10 lines).
Hunk #37 succeeded at 2024 (offset 10 lines).
Hunk #38 succeeded at 2036 (offset 10 lines).
Hunk #39 succeeded at 2135 (offset 10 lines).
Hunk #40 succeeded at 2164 (offset 10 lines).
Hunk #41 succeeded at 2219 (offset 10 lines).
Hunk #42 succeeded at 2231 (offset 10 lines).
Hunk #43 succeeded at 2274 (offset 10 lines).
Hunk #44 succeeded at 2294 (offset 10 lines).
Hunk #45 succeeded at 2318 (offset 10 lines).
Hunk #46 succeeded at 2367 (offset 10 lines).
Hunk #47 succeeded at 2474 (offset 10 lines).
Hunk #48 succeeded at 2570 (offset 10 lines).
Hunk #49 succeeded at 2588 (offset 10 lines).
Hunk #50 succeeded at 2601 (offset 10 lines).
Hunk #51 succeeded at 2618 (offset 10 lines).
Hunk #52 succeeded at 2634 (offset 10 lines).
Hunk #53 succeeded at 2648 (offset 10 lines).
Hunk #54 succeeded at 2727 (offset 10 lines).
Hunk #55 succeeded at 2840 (offset 10 lines).
Hunk #56 succeeded at 2865 (offset 10 lines).
Hunk #57 succeeded at 2930 (offset 10 lines).
1 out of 57 hunks FAILED -- saving rejects to file Zend/zend_alloc.c.rej
patching file Zend/zend_alloc.h
patching file Zend/zend_alloc_canary.c
patching file Zend/zend_canary.c
patching file Zend/zend_compile.c
patching file Zend/zend_compile.h
patching file Zend/zend_constants.c
Hunk #1 FAILED at 113.
1 out of 1 hunk FAILED -- saving rejects to file Zend/zend_constants.c.rej
patching file Zend/zend_errors.h
patching file Zend/zend_hash.c
Hunk #1 succeeded at 20 with fuzz 1.
patching file Zend/zend_llist.c
patching file Zend/zend_operators.c
patching file Zend/zend_variables.c
patching file configure
Hunk #2 succeeded at 115343 (offset 1 line).
Hunk #3 succeeded at 115547 (offset 1 line).
patching file configure.in
patching file ext/standard/dl.c
patching file ext/standard/info.c
patching file ext/standard/syslog.c
patching file main/fopen_wrappers.c
patching file main/main.c
Hunk #2 succeeded at 493 (offset 2 lines).
Hunk #3 succeeded at 1784 (offset 3 lines).
Hunk #4 succeeded at 1832 (offset 3 lines).
Hunk #5 succeeded at 1955 (offset 3 lines).
patching file main/php.h
patching file main/php_config.h.in
patching file main/php_logos.c
patching file main/snprintf.c
patching file main/spprintf.c
patching file main/suhosin_globals.h
patching file main/suhosin_logo.h
patching file main/suhosin_patch.c
patching file main/suhosin_patch.h
patching file main/suhosin_patch.m4
patching file sapi/apache/mod_php5.c
patching file sapi/apache2filter/sapi_apache2.c
patching file sapi/apache2handler/sapi_apache2.c
patching file sapi/apache_hooks/mod_php5.c
patching file sapi/cgi/cgi_main.c
Hunk #1 FAILED at 1929.
1 out of 1 hunk FAILED -- saving rejects to file sapi/cgi/cgi_main.c.rej
patching file sapi/cli/php_cli.c
Hunk #1 FAILED at 832.
1 out of 1 hunk FAILED -- saving rejects to file sapi/cli/php_cli.c.rej
patching file sapi/litespeed/lsapi_main.c
Hunk #1 FAILED at 545.
1 out of 1 hunk FAILED -- saving rejects to file sapi/litespeed/lsapi_main.c.rej
patching file sapi/milter/php_milter.c
Hunk #1 FAILED at 1111.
1 out of 1 hunk FAILED -- saving rejects to file sapi/milter/php_milter.c.rej
patching file win32/build/config.w32
Hunk #1 succeeded at 328 (offset 3 lines).
Hunk #2 succeeded at 385 (offset 5 lines).
patching file win32/build/config.w32.h.in
**ERROR** Could not patch source with Suhosin patch
Here is my configuration
Code:
'--with-config-file-path=/home/master/configs' '--with-mysqli' '--with-mysql' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=..' '--with-png-dir=..' '--enable-mbstring' '--with-openssl' '--with-zlib' '--with-mcrypt' '--with-pear' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-bz2' '--enable-zip' '--with-curl'