[solved] Build Matching PHP 5.3.25 with LSAPI
On cpanel server server, after upgrading MySQL to version 5.1 and PHP to version 5.3.25, Litespeed does not work.
Litespeed was working perfectly well before.
Have tried to re-install Litespeed many times, with no success.
Problem is after running easyapache, to re-compile apache with new PHP 5.3.245, when I go to LSWS console, next select Build Matching PHP Binary, next I click on "NEXT" button to continue, I get following error;
Start building PHP 5.3.25 with LSAPI
Mon Jun 3 14:14:02 EAT 2013
Changing to build directory /home/cpeasyapache/ls.src
**ERROR** Cannot find php build directory for cPanel, please run EasyApache first to build PHP with correct options for
However, if I re-install Litespeed, then go to LiteSpeed Configuration, next go to Admin Web Console, next select Action menu, next select Compile PHP
This option works to Build Matching PHP Binary, however when it's finished and restart Litespeed, when I go to Litespeed home page and select Build Matching PHP Binary I now get following message;
Found Apache php binary at /usr/local/bin/php. Version is 5.3.25
Found LiteSpeed php binary at /usr/local/lsws/fcgi-bin/lsphp5. Version is 5.3.25
Apache php configuration has more options that are not available or different in lsphp:
Which appears to say it worked but there was still a problem.
And at this point, when I try to switch or even restart to Litespeed does not work.
And even if I try Build Matching PHP Binary, keeps on saying " Cannot find php build directory for cPanel, please run EasyApache..." and have re-run easyapache many times but does not help. Therefore must be something else I'm missing.
Why does this happen?
How will be able to make use or make "Build Matching PHP Binary" work?
Last edited by NiteWave; 06-14-2013 at 08:27 AM..