Impossible to build php with litespeed whm

Discussion in 'Install/Configuration' started by Marlowe, Aug 29, 2013.

  1. Marlowe

    Marlowe New Member

    Hello !
    I've recently installed LiteSpeed on my WHM installation. Bought the 1 core license on buycpanel.com. I'm trying to build a fresh new php, regarding the preincluded version is pretty old (php 4).
    I'm trying to build php. 5.4.19 into the WHM Litespeed Panel from the apache php build configuration.
    Sadly, it gives me this error when building :

    /home/cpeasyapache/ls.src/php-5.4.19/Zend/zend_language_parser.y:50.1-5: invalid directive: `%code'
    /home/cpeasyapache/ls.src/php-5.4.19/Zend/zend_language_parser.y:50.7-14: syntax error, unexpected identifier
    make: *** [/home/cpeasyapache/ls.src/php-5.4.19/Zend/zend_language_parser.c] Error 1
    **ERROR** Could not compile PHP

    I don't understand what's wrong, could you help me please ?
    Regards
  2. NiteWave

    NiteWave Administrator

    the problem may be you didn't build php-5.4.19 for apache first.

    please run easyApache to build php-5.4.19 for apache first, then run "Build Matching PHP" in WHM Litespeed Panel
  3. mistwang

    mistwang LiteSpeed Staff

    It is a file timestamp problem.
    Please do
    from command line to fix it.
  4. mistwang

    mistwang LiteSpeed Staff

    WHM plugin has been updated to address this issue as well.
    You can do a force reinstall of 4.2.4 to apply the fix.

Share This Page