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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Cannot Build PHP via WHM - Cannot Find Configuration Options

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2012, 12:35 AM
jmtittle jmtittle is offline
New Member
 
Join Date: Jul 2012
Posts: 2
Exclamation Cannot Build PHP via WHM - Cannot Find Configuration Options

We're running CPanel + Litespeed on a KVM VM with CloudLinux and CageFS enabled. After installing Litespeed via the WHM plugin and heading over to the Build Matching PHP Binary link, we're presented with:

"Cannot find configuration options!"


Searching the forums doesn't seem to yield and answer, nor does Google.




Edit:

When doing the compile via CLI, we were able to rebuild a matching binary after upgrading to 4.2. Now we're seeing the error below when visiting the build matching binary page.

ERROR: /usr/local/bin/php -i returns 6

Last edited by jmtittle; 10-18-2012 at 01:36 AM..
Reply With Quote
  #2  
Old 10-18-2012, 10:18 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
try below and see if any errors.

Quote:
/usr/local/bin/php /usr/local/cpanel/whostmgr/cgi/lsws/cmd_buildmatchingphp.php

Last edited by webizen; 10-18-2012 at 05:27 PM.. Reason: quote the command
Reply With Quote
  #3  
Old 10-18-2012, 02:44 PM
jmtittle jmtittle is offline
New Member
 
Join Date: Jul 2012
Posts: 2
The issue is we have to build from the CLI, we're unable to build from the plugin interface within WHM. We're also getting the following error after updating to 4.2:

ERROR: /usr/local/bin/php -i returns 6


This is when trying to build from the plugin as well.
Reply With Quote
  #4  
Old 10-18-2012, 04:50 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
this usually has to do with the default php.ini /usr/local/lib/php.ini has functions like exec disabled (you should see the warning message when run the command posted earlier). just remove that from disable_function to workaround that. We are also working on a fix which will be included in 4.2.1.
Reply With Quote
Reply

Tags
cpanel kvm cloudlinux

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 12:02 PM.



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