Litespeed won't build PHP

Discussion in 'General' started by optize, Jul 28, 2010.

  1. optize

    optize New Member

    ==============================================
    Start building PHP 5.2.14 with LSAPI
    ==============================================
    Tue Jul 27 22:27:56 CDT 2010

    Changing to build directory /home/cpeasyapache/ls.src
    Cannot find php build directory for cPanel, will download source code
    Retrieving PHP source archive
    2010-07-27 22:28:06 URL:http://us2.php.net/distributions/php-5.2.14.tar.gz [11783970/11783970] -> "php-5.2.14.tar.gz" [1]

    Extracting PHP source archive: tar -zxf php-5.2.14.tar.gz

    Retrieving mail header patch
    http://choon.net/opensource/php/php-5.2.14-mail-header.patch:
    2010-07-27 22:28:08 ERROR 404: Not Found.
    **ERROR** Could not retrieve mail header patch
  2. NiteWave

    NiteWave Administrator

    lsws 4.0.16 support php 5.2.14 formally.

    can you try 4.0.16 and rebuild.
  3. optize

    optize New Member

    4.0.16 does not work either.

    ==============================================
    Start building PHP 5.2.14 with LSAPI
    ==============================================
    Wed Jul 28 07:11:16 CDT 2010

    Changing to build directory /home/cpeasyapache/ls.src
    Cannot find php build directory for cPanel, will download source code
    Retrieving PHP source archive
    2010-07-28 07:11:39 URL:http://us2.php.net/distributions/php-5.2.14.tar.gz [11783970/11783970] -> "php-5.2.14.tar.gz" [1]

    Extracting PHP source archive: tar -zxf php-5.2.14.tar.gz

    Retrieving mail header patch
    http://choon.net/opensource/php/php-5.2.14-mail-header.patch:
    2010-07-28 07:11:41 ERROR 404: Not Found.
    **ERROR** Could not retrieve mail header patch
  4. NiteWave

    NiteWave Administrator

    looks like mail header patch not available for php 5.2.14 and 5.3.3 yet:
    http://choon.net/php-mail-header.php

    so you have to uncheck mail header patch when building php 5.2.14 and 5.3.3 at the time being.
  5. Sheriff

    Sheriff New Member

    Seems like 4.0.16 also has issues building PHP 5.3.3 with Suhosin extension.

    It appears that they have changed the extension from suhosin-0.9.32.1.tgz to suhosin-0.9.32.1.tar.gz so the build script is failing to retrieve the archive and extract it.
  6. KXP

    KXP New Member

    I just skiped these 2 patches.

Share This Page