There is no 5.2.16 Mail header path, but LS wants it

Discussion in 'PHP' started by Raenk, Feb 18, 2011.

  1. Raenk

    Raenk New Member

    Hi,

    I can't build 5.2.16 php binary because of this, Choon's patches for 5.2 come up to x.x.15 only and then jumps to 5.3 and I can't move on to 5.3 because of missing addons (cPanel server).

    Any ideas ?

    Thanks
  2. webizen

    webizen New Member

    You can use 5.2.x patch for php 5.2.16 (as stated in very end of the page http://choon.net/php-mail-header.php as below)

  3. Raenk

    Raenk New Member

    It isn't me wanting 5.2.16, it is LS, how do i persuade it to get x.x.15 instead ?
  4. webizen

    webizen New Member

    A new build script in being worked on to get around this.

    In the meantime, you can still use 5.2.16 as follows:
    1. On LSWS admin console -> Actions -> Compile PHP -> Select PHP 5.2.16 -> Next
    uncheck mail header patch option in the add-on and click "Build PHP 5.2.16" button and let preparation finish.
    2. before start step 4, download 5.2.x patch from choon and patch php 5.2.16 source from command line.
    3. proceed php build (step 4: run script /usr/local/lsws/phpbuild/buildphp_manual_run.sh).
    Last edited: Feb 18, 2011
  5. Raenk

    Raenk New Member

    It is a shame that a new version has come out and this has not been fixed.
  6. webizen

    webizen New Member

    just force reinstall 4.0.20.
  7. Raenk

    Raenk New Member

    It is installed, the problem is when compiling PHP.

    It's been a month now and LS has been turned off because of this but hey, the bill keeps coming.
  8. Lauren

    Lauren LiteSpeed Staff Staff Member

    the latest build of 4.0.20 should not have this issue. Go to release manager and do a force reinstall to install the latest binary.
  9. Raenk

    Raenk New Member

    Already did reinstall via CLI and Version manager and building php still tries to fetch 5.2.16 choon's patch
  10. Lauren

    Lauren LiteSpeed Staff Staff Member

    I just tried again, installed linux 64bit binary. when build PHP 5.2.16, output is

    If you are using cPanel WHM - build matching PHP, please enable EasyApache integration and build php with your desired options from easy apache. It will automatically build matching php.
    Only for new build with no prior easyapache build, you may get the mailheader error. will fix it in next build. This is rarely hit, as most people do use easyapache to build php or use LSWS web admin build php utility. I just figured out this.

    Thanks,
    Lauren
    Last edited: Mar 21, 2011

Share This Page