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
  #11  
Old 09-14-2012, 11:03 AM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
That advice worked. That seems to be the point of contention of having it failing to compile when updating it. Thanks.
Reply With Quote
  #12  
Old 09-18-2012, 02:04 AM
georgetasioulis georgetasioulis is offline
New Member
 
Join Date: Dec 2011
Posts: 9
Today I upgraded to v4.2 by issuing the following command from command line:
Code:
/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2
(PS: Version Manager still shows 4.1.13 as Latest Release...)

Then I recompiled PHP 5.2.17 via the Admin interface (simply took the configuration options from /usr/local/lsws/fcgi-bin/lsphp-5.2.17 -i), verified that LSAPI 6.0 was downloaded, and tried to enable suEXEC daemon mode by updating lsphp5 external application configuration and changing the Run on Startup option to suEXEC daemon.

Unfortunately enabling suEXEC daemon mode, gave me 503 errors on all my websites (I'm running cPanel & CloudLinux), so I had to change Run on Startup, back to On.

Any idea why this could be happening?

I'll also try it with PHP 5.3.16 in a few minutes and let you know.

Last edited by georgetasioulis; 09-18-2012 at 03:15 AM..
Reply With Quote
  #13  
Old 09-18-2012, 03:15 AM
georgetasioulis georgetasioulis is offline
New Member
 
Join Date: Dec 2011
Posts: 9
PHP 5.3.16 also gives me "503 Service Unavailable The server is temporarily busy, try again later!" errors.

Here's a screenshot from phpinfo:
Screen Shot 2012-09-18 at 1.13.04 PM.jpg
Reply With Quote
  #14  
Old 09-18-2012, 08:07 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
but this phpinfo() is ok, without 503 error ?
Reply With Quote
  #15  
Old 09-18-2012, 08:21 AM
georgetasioulis georgetasioulis is offline
New Member
 
Join Date: Dec 2011
Posts: 9
The phpinfo above is with Run on Startup option set to On.
If it set it to suEXEC daemon and restart, nothing works, not even the phpinfo page. I get a 503 error instead.

(the attached phpinfo page is to show you my configuration options and that indeed PHP is compiled with LSAPI 6.0)
Reply With Quote
  #16  
Old 09-18-2012, 10:29 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Are you using CageFS or just regular LVE?
Could be a system resource limit being hit. have you checked stderr.log?
You can PM me a temp root access if you want, I can take a look.
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:47 PM.



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