Cannot Build PHP via WHM - Cannot Find Configuration Options

#1
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:
#3
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.
 

webizen

Well-Known Member
#4
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.
 
Top