Submitted by aaronstpierre on Mon, 03/03/2014 - 10:00 Pro Licensee
I just purchased a license for WHMCS and went ahead to install using the installer and I'm getting this:
Found http://software.virtualmin.com:80/download/whmcs_v5215.zip in cache .. Found http://downloads2.ioncube.com:80/loader_downloads/ioncube_loaders_lin_x8... 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 http://www.whmcs.com/members/aff.php?aff=4115.
.. 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.
Status:
Active
Comments
Submitted by aaronstpierre on Mon, 03/03/2014 - 10:16 Pro Licensee Comment #1
More info:
I just looked in the $HOMEDIR/etc and found:
ioncube_loader_lin_5.3.so
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...
Submitted by andreychek on Mon, 03/03/2014 - 10:24 Comment #2
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.
Submitted by aaronstpierre on Mon, 03/03/2014 - 10:50 Pro Licensee Comment #3
Hi,
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.
Thanks!