Migrating from Apache/cPanel

I have installed the trial version of LiteSpeed Web Server following the directions posted here.

I have installed LSWS parallell to Apache with port offset 2000. Now, when I go to create the PHP5 binary using the "Build Matching PHP Binary" tool in WHM, I get the following error: "Cannot find configuration options!".

How can I solve this? I also tried to compile PHP through the web admin console -> Actions -> Compile PHP menu using the following config string:

I have no log file named stderr.log. I noticed that I had forgot to remove the '--enable-fastcgi' option in the PHP config string, so I tried to re-compile without that option but to no avail. Same problem.

Anyway, I though I should be able to use the LiteSpeed WHM plugin to compile the PHP binary based on the current one without having to specify the config options.

Main thing to note I believe would to be the trouble shooting section:

If you LiteSpeed PHP setup give 503 errors, you may have PHP configuration problem, usually it is because the version of a loadable module does not match the PHP version used. You need to recompile the loadable module to fix it.