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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Build Matching PHP Binary does nothing

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2010, 10:21 AM
Heritz Heritz is offline
New Member
 
Join Date: Oct 2010
Posts: 7
Default Build Matching PHP Binary does nothing

So, I installed the WHM plugin. It downloaded/installed LSWS with a trial key, etc.

I can see the "LiteSpeed Web Server Plugin" option in my WHM. However, when I click "Build Matching PHP Binary", nothing happens.

On Firefox: I get a blank screen. Checking with Firebug the response is "Failed to load source for: ht*p://XXYYXYYX:2086/cgi/lsws/index.php?do=buildPHP"

On Google Chrome: Error 321 (net::ERR_INVALID_CHUNKED_ENCODING): Unknown error.

On IE8: Internet Explorer cannot display the webpage.

On Safari: The error is: “unknown error” (CFURLErrorDomain:303)

I tried uninstalling and reinstalling the LSWS but I am still getting the same error. What else can I do?

I also tried "chmod 0755 /usr/bin/gcc" but still getting the same errors on WHM.
Reply With Quote
  #2  
Old 10-25-2010, 11:13 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Please build the PHP from EasyApache (within cPanel) first and see if that makes any difference. BTW, what's the release version of your cPanel?
Reply With Quote
  #3  
Old 10-25-2010, 12:48 PM
Heritz Heritz is offline
New Member
 
Join Date: Oct 2010
Posts: 7
Quote:
Originally Posted by webizen View Post
Please build the PHP from EasyApache (within cPanel) first and see if that makes any difference. BTW, what's the release version of your cPanel?
This is what I'm using:

WHM 11.26.20
CENTOS 5.5 x86_64 standard on server
Reply With Quote
  #4  
Old 10-25-2010, 01:22 PM
Heritz Heritz is offline
New Member
 
Join Date: Oct 2010
Posts: 7
Nope. Did a "rebuild" with easyapache, but it didn't solve the problem. I am still getting a blank screen.
Reply With Quote
  #5  
Old 10-25-2010, 03:44 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Anything in cPanel logs as to what's wrong with building php? PM me your server access for me to take a look if you would like.
Reply With Quote
  #6  
Old 10-25-2010, 05:33 PM
Heritz Heritz is offline
New Member
 
Join Date: Oct 2010
Posts: 7
Got it working.

Just started LS from console

[your_install_dir]/bin/lswsctrl start

Then compiled PHP from within the LS admin panel itself. Then it worked.

Thank you.
Reply With Quote
  #7  
Old 10-26-2010, 12:41 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
There is no 'Build Matching PHP' option in LS admin panel. Guess you are talking about the Compile PHP in Action menu.

From cPanel WHM, Build Matching PHP usually does not need LSWS running. So Apache was not running before you started LSWS from console, right?

Last edited by webizen; 10-26-2010 at 01:09 AM..
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:51 AM.



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