I have installed the enterprise version of litespeed, and everything seemed good, but when I look at my phpinfo file, php4 show not php5. I recompiled successfully, tried again - no luck.
So I deleted the isphp4 from the server -> settings, restarted,
checking for PHP prefix... /opt/lsws/lsphp5
checking for PHP includes... -I/opt/lsws/lsphp5/include/php -I/opt/lsws/lsphp5/include/php/main -I/opt/lsws/lsphp5/include/php/TSRM -I/opt/lsws/lsphp5/include/php/Zend -I/opt/lsws/lsphp5/include/php/ext -I/opt/lsws/lsphp5/include/php/ext/date/lib
checking for PHP extension directory... /opt/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /opt/lsws/lsphp5/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
Im going to yum install re2c and recompile php and see if that works out...