Welcome Guest. Please Login or Register  

You are here: Index > Softaculous Auto Installer > Suggestions > Topic : Set up for dual PHP

Threaded Mode | Print  

 Set up for dual PHP, Allow a path to be defined for different PHP versions (1 Replies, Read 4903 times)
Group: Member
Post Group: Newbie
Posts: 29
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.
IP: --   

Set up for dual PHP
Group: Softaculous Team
Post Group: Super Member
Posts: 3587

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.

SitePad Website Builder
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  

Jump To :

Users viewing this topic
1 guests, 0 users.

All times are GMT. The time now is October 16, 2017, 10:14 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.137