Error configuring PHP for litespeed

Discussion in 'Install/Configuration' started by thomasg_peters, Jul 17, 2011.

  1. thomasg_peters

    thomasg_peters New Member

    I am attempting to configure PHP --with-xmlrpc for my site but not successful. I must admit, I have not been using PHP very long and it's a pain in the <you know what!>. Anyhow, I hope to get some help on this. I have a site running joomla. The site is currently running and I was successful in upgrading the PHP before, when I needed to configure a newer version of PHP. I am currently running PHP 5.3.6.

    '--with-mysqli' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-xmlrpc' '--with-litespeed'

    seems pretty simple, but it's failing...



    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
  2. mistwang

    mistwang LiteSpeed Staff

    suhosin patch for 5.3.6 is not available yet.
    You need to wait for the official patch.

Share This Page