LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Progress: Stopped due to Error

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2011, 05:29 AM
BWS BWS is offline
New Member
 
Join Date: May 2011
Posts: 1
Default Progress: Stopped due to Error

Hello,

When we tried to build matching PHP Binary for litespeed, we have received the following error:


=============================
Build PHP Using Apache Configuration with LSAPI
Progress: Stopped due to Error

==============================================
Start building PHP 5.2.17 with LSAPI
==============================================
Fri May 20 08:08:12 EDT 2011

Changing to build directory /home/cpeasyapache/ls.src
Cannot find php build directory for cPanel, will download source code
Retrieving PHP source archive from http://us.php.net/get/php-5.2.17.tar...php.net/mirror
2011-05-20 08:08:20 URL:http://us.php.net/distributions/php-5.2.17.tar.gz [11801597/11801597] -> "php-5.2.17.tar.gz" [1]
Extracting PHP source archive: tar -zxf php-5.2.17.tar.gz

Retrieving mail header patch from http://choon.net/opensource/php/php-...l-header.patch
2011-05-20 08:08:33 URL:http://choon.net/opensource/php/php-...l-header.patch [3356/3356] -> "php-5.2.x-mail-header.patch" [1]

Patching source with mail header patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ext/standard/mail.c 2010-12-11 23:35:23.000000000 +0800
|+++ b/ext/standard/mail.c 2010-12-11 23:35:41.000000000 +0800
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
**ERROR** Could not patch source with mail header patch
==============================
Reply With Quote
  #2  
Old 05-20-2011, 10:01 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
this is due to a bug in php_build script. The fix will be rolled out shortly.

you can apply following patch manually to /usr/local/cpanel/whostmgr/docroot/cgi/lsws/php_build.template for the time being.
Code:
@@ -128,8 +128,10 @@
check_errs $? "Could not retrieve mail header patch"
echo ""
echo "Patching source with mail header patch"
- patch -p0 < $MHPATCH
+ cd php-{PHP_VERSION}
+ patch -p1 < ../$MHPATCH
check_errs $? "Could not patch source with mail header patch"
+ cd ..
echo ""
fi
Reply With Quote
  #3  
Old 06-06-2011, 12:16 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
I have experienced this php_build error today.
So the patch is still doesn't rolled out since 05-20-2011 until now?
Thank you for manually patch instruction anyway.
Reply With Quote
  #4  
Old 06-06-2011, 09:36 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Correct. patch has not yet rolled out.
Reply With Quote
  #5  
Old 06-14-2011, 07:52 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
patch is rolled out.
Reply With Quote
  #6  
Old 06-16-2011, 07:32 PM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
thank you, webizen
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:02 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.