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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Compling PHP messes up my server

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2008, 01:31 PM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
Default Compling PHP messes up my server

Compling PHP increases server load dramatically (x5 what it's normally at) and crashes everything.... why?

Thanks.
Reply With Quote
  #2  
Old 11-09-2008, 01:49 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
What does the log say?
Reply With Quote
  #3  
Old 11-09-2008, 01:54 PM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
Sorry, which log?
Reply With Quote
  #4  
Old 11-09-2008, 02:33 PM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
I've just found that I shouldn't really need to compile PHP because the "Build Matching PHP Binary" actually did work. The reason I thought it didn't was because I thought it was missing a few on the phpinfo() page I made showing the modules... infact it was just missing '--with-apxs2=/usr/local/apache/bin/apxs'...... obviously, because it's not apache.

I originally thought compiling php again would fix the problem I am having here:

http://www.litespeedtech.com/support...2403#post12403

Now this is even more puzzling because both apache's PHP and litespeed's PHP contain the same modules... so that shouldn't be a problem... What could be causing this?
Reply With Quote
  #5  
Old 11-10-2008, 01:33 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If it has been messed up to a point that you have no clue how to fix it, the easiest solution is to start over from scratch again.
Reply With Quote
  #6  
Old 11-10-2008, 01:38 PM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
I mean that it increases server load to far too high for the server to cope... takes a while to return to normal after me stopping compiling (or atleast closing the webpage with the compiling going on).
Reply With Quote
  #7  
Old 11-10-2008, 01:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
compiling will cause high CPU utilization, so server load will be definitely higher. Same is true if you rebuild Apache with easyapache. Just do that due your off-peak hour.
Reply With Quote
  #8  
Old 11-10-2008, 01:48 PM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
Yeah but I don't expect exim, ftp etc. to all go down and server load over 100? Of course it will increase server load, but apache update only increases it a little, not by 100...?
Reply With Quote
  #9  
Old 11-11-2008, 08:45 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Must be something wrong the PHP binary created, you can try restart over. Put LiteSpeed on another port to make sure everything work properly, then let it take live traffic.
Reply With Quote
  #10  
Old 11-11-2008, 09:01 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
Litespeed is not on port 80, apache is. I can't use litespeed until it works.
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 02:08 AM.



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