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 5337 times)
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
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: 5640
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.

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

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 12:19 pm.

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