can not build new php 54

Discussion in 'Install/Configuration' started by bobykus, Sep 18, 2013.

  1. bobykus

    bobykus Member

    curl: (6) Couldn't resolve host 'us.php.net'

    dns record does not exists of course



    here is full output


    ----------------cut here-------------------
    Patching source with mail header patch
    **ERROR** Could not patch source with mail header patch
    Detailed Log:


    **LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1379512312.9.log
    =============================================================
    Preparing all source code for building PHP 5.4.19 with LSAPI
    =============================================================
    Wed Sep 18 15:51:53 CEST 2013

    Changing to build directory /usr/local/lsws/phpbuild
    Retrieving PHP source archive from http://us.php.net/get/php-5.4.19.tar.gz/from/us.php.net/mirror

    curl: (6) Couldn't resolve host 'us.php.net'

    ----------------cut here-------------------
  2. NiteWave

    NiteWave Administrator

    it looks just recent a few days, php.net has changed default download link or made mistakes or hacked ? us.php.net domain no longer exist, at least at present!

    following link won't work any more:
    us.php.net/get/php-5.4.19.tar.gz/from/us.php.net/mirror
    will return 404 Not Found

    instead, following 2 works:
    us1.php.net/get/php-5.4.19.tar.gz/from/us1.php.net/mirror
    us1.php.net/get/php-5.4.19.tar.gz/from/us2.php.net/mirror
    (tested, following 2 also works:
    us1.php.net/get/php-5.4.19.tar.gz/from/us2.php.net/mirror
    us2.php.net/get/php-5.4.19.tar.gz/from/us1.php.net/mirror
    )

    at the moment, have to manually downloaded the php source package.
  3. bobykus

    bobykus Member

    Please inform when the moment will pass and I can build php from admin interface.
  4. mistwang

    mistwang LiteSpeed Staff

    Please force reinstall 4.2.4, the download code should have been fixed.

Share This Page