Impossible to build php with litespeed whm

#1
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
 

NiteWave

Administrator
#2
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
 
Top