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 4078 times)
sparek
Group: Member
Post Group: Newbie
Posts: 11
Status:
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
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 2111
Status:
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.

-----------------------
Facebook
Twitter
Vote for us
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 26, 2014, 1:03 am.

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