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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > LSWS 4.2 support PHP suEXEC daemon mode

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2012, 11:32 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Default LSWS 4.2 support PHP suEXEC daemon mode

http://blog.litespeedtech.com/2012/0...c-daemon-mode/

Highly recommended for shared hosting provider, especially for busy servers.
Reply With Quote
  #2  
Old 09-12-2012, 12:05 PM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
Hi George, interesting developments indeed

Definitely will have to check out 4.2 when I have the time
Reply With Quote
  #3  
Old 09-13-2012, 02:29 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Default Bug with litepeed or PHP 5.4.6?

I have been working on trying to get the PHP 5.4.6 to compile with the new Litespeed SAPI 6.0 and it seems it won't compile at all for it. Were you guys able to have this compiled under PHP 5.4.6? I am falling back down to 5.4.5 for now to see if it compiles with litespeed SAPI update for this.
Reply With Quote
  #4  
Old 09-13-2012, 02:36 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Default Ok..it is PHP issue

Okay...apparently, it is PHP issue, since they apparently broke something in the buildconf file for adding the new extensions and such that it broke the litespeed's part to have it added into the system for it.

So scratch that previous post about it.
Reply With Quote
  #5  
Old 09-13-2012, 06:09 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Default Latest update....

Ok..apparently, the LSPHP SAPI 6.0 is the culprit for having it added into the PHP 5.4.6 to give that errors for not being able to compile. So I guessing the functionality is not updated to work with PHP 5.4.6 yet at this time, correct?
Reply With Quote
  #6  
Old 09-13-2012, 07:26 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
How do you try to build PHP 5.4.6 with LSAPI 6.0?
WHM plugin, build matching PHP?
from LSWS web console?
Or do it manually from command line?
Reply With Quote
  #7  
Old 09-13-2012, 08:02 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Quote:
Originally Posted by mistwang View Post
How do you try to build PHP 5.4.6 with LSAPI 6.0?
WHM plugin, build matching PHP?
from LSWS web console?
Or do it manually from command line?
I do this manually, since I have 3 other PHP builds also running, which is 4.4.9, 5.2.17, 5.3.16 as well and was adding the PHP 5.4.6. Just it seems when I update it with the new LSAPI 6.0 in the php 5.4.6, it fails.
Reply With Quote
  #8  
Old 09-13-2012, 08:06 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
with PHP 5.3 and above, including PHP 5.4, you do not need to run buildconf, just overwrite sapi/litespeed directory with code from LSAPI 6.0. "--with-litespeed" is supported by default.
Reply With Quote
  #9  
Old 09-13-2012, 08:18 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Generally, that would be in this case, but I also have added two extensions to the PHP BUILD, which is basically ffmpeg and magick PECL extensions, which is to be compiled statically into the PHP itself.

So when I also add the LSAPI 6.0 and run the buildconf, that when it barfs for it. I am still trying few ideas to try to get around that issue, but I think I found the answer by your comment, which is to build it first successfully with the extensions added by phpbuild, and then patch the sapi directory with new 6.0 and build it again from there to get it compiled.

I will update later tomorrow when I get back to it.
Reply With Quote
  #10  
Old 09-13-2012, 08:49 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
A easy solution is to skip sapi/litespeed/Makefile.frag and config.m4 when overwrite sapi/litespeed directory. buildconf should pass.
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 09:09 AM.



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