Cannot Build PHP via WHM - Cannot Find Configuration Options

Discussion in 'Install/Configuration' started by jmtittle, Oct 18, 2012.

  1. jmtittle

    jmtittle New Member

    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: Oct 18, 2012
  2. webizen

    webizen New Member

    try below and see if any errors.

    Last edited: Oct 19, 2012
  3. jmtittle

    jmtittle New Member

    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.
  4. webizen

    webizen New Member

    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.

Share This Page