Install script WHMCS failing

I just purchased a license for WHMCS and went ahead to install using the installer and I'm getting this:

Found in cache .. Found in cache ..

Configuring webserver PHP settings .. .. already done. Applying web server configuration .. .. done

Now installing WHMCS version 5.2.15 .. System check failed More information on using this script can be found at

.. installation was only partially complete. Re-loading Webmin .. .. done

Applying web server configuration .. .. done

I poked around but can't see why it failed. Nothing obvious in the logs.



More info:

I just looked in the $HOMEDIR/etc and found:

Whereas my default PHP version is 5.4.16.

I think this goes back to the other ticket I have open in that Virtualmin is defaulting to the system base PHP version and not the version that is actually selected for the directory.

Anyway what I did was install ioncube in /usr/local and then just pointed the correct php.ini to it.

I don't have time to test this but I'm guessing if I had just switched to php version 5.3.3 things would have worked.

Maybe I'll try this later on want to finish this setup first...

Ah, so just to verify -- you have multiple PHP versions installed, but it sounds like Virtualmin isn't accounting for that when installing ioncube?

And is WHMCS working now that you updated the php.ini to use the ioncube file?

If that's the case, that may just mean we need to tweak the WHMCS Install Script to look for your currently enabled PHP version in that domain, it may be using the default PHP version available on your OS.


Yes that it exactly - I've got system default PHP 5.3.3 and Software Collections Version PHP 5.4.16.

WHCMS is working once I update the correct php.ini (I did a manual install though).

I agree it's using the default version for my OS which is Centos 6.5.