LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   PHP (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=19)
-   -   There is no 5.2.16 Mail header path, but LS wants it (http://www.litespeedtech.com/support/forum/showthread.php?t=4722)

Raenk 02-18-2011 10:59 AM

There is no 5.2.16 Mail header path, but LS wants it
 
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

webizen 02-18-2011 11:10 AM

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)

Quote:

OR instead of waiting for me to roll out the patch according to the new version, you can try 5.2.x for 5.2 series and 5.3.x for 5.3 series.

Raenk 02-18-2011 11:16 AM

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

webizen 02-18-2011 11:51 AM

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.
Quote:

wget http://choon.net/opensource/php/php-...l-header.patch
cd /usr/local/lsws/phpbuild/php-5.2.16
patch -p1 < /path/to/my/patch/you/downloaded/php-5.2.x-mail-header.patch
3. proceed php build (step 4: run script /usr/local/lsws/phpbuild/buildphp_manual_run.sh).

Raenk 03-05-2011 09:23 PM

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

webizen 03-06-2011 04:18 PM

just force reinstall 4.0.20.

Raenk 03-19-2011 11:06 AM

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.

Lauren 03-19-2011 07:32 PM

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.

Raenk 03-19-2011 07:52 PM

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

Lauren 03-21-2011 12:27 PM

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

Quote:

Retrieving mail header patch from http://choon.net/opensource/php/php-...l-header.patch
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


All times are GMT -7. The time now is 03:03 PM.