Softaculous


Topic : Set up for dual PHP


Posted By: sparek on December 13, 2011, 5:44 pm
We have noticed an issue, specifically with Moodle but maybe other scripts, that require PHP 5.3.  We run PHP 5.2.17 by default on our servers.

It would be nice if Softaculous would allow you to define a path to a PHP 5.2 binary and a path to a PHP 5.3 binary.

As it stands now, when someone wants to update Moodle on their site through Softaculous, I have to copy the CLI PHP 5.3 binary to /usr/local/bin/php - overwriting the PHP 5.2.17 binary and then switching back after the upgrade has completed.

If Softaculous can know that Moodle - and any other scripts that require PHP 5.3 - needs PHP 5.3 to update or install, then if Softaculous would allow a system admin to define a path to a PHP 5.3 CLI binary, then the update/install wizard could be instructed to use that PHP binary.

At least that is my thought.

Posted By: Brijesh on December 14, 2011, 6:42 am | Post: 1
Hi,

We are adding a feature to define the PHP version before any installation using the Pre Install Hooks. You can define the PHP binary and the PHP version in the Pre install script and if it is defined then Softaculous will skip its process of identifying the PHP version. This should be available with the next version of Softaculous.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.