Softaculous


Topic : Joomla 3.0.2 won't install - H-sphere panel


Posted By: capalon on December 28, 2012, 10:25 pm
I have set the site's PHP version specifically to PHP 5.3 (which is 5.3.17 to be exact, and shows correctly using a phpinfo() call from the site).  The Joomla 3.0.2 install keeps complaining that it needs a PHP version greater than 5.3.1, and refuses to install.  2.5.8 will install fine, but the 3.0.2 fails on the PHP version every time.  I have tried with the PHP mode set to CGI, FastCGI both with no success either way.  The version check is failing in error for some reason.

This situation is easily repeatable in another website also, so it is not specific to this one site.

Thanks,
Ron



Posted By: Brijesh on December 29, 2012, 7:03 am | Post: 1
Hi,

Can you please provide the PHP version that is displayed in the Softaculous Admin panel.

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

Posted By: capalon on December 29, 2012, 9:13 pm | Post: 2
Are you implying that the PHP version being checked is the version running in the Softaculous Admin site, not the PHP version for the site where the Joomla software is going to be hosted?

The Softaculous Admin area is running PHP 5.2 as that is currently the server's default right now, although the site hosting Joomla is running PHP 5.3 to meet the requirements for Joomla.




Posted By: Brijesh on December 30, 2012, 8:33 am | Post: 3
Hi,

No sir the PHP version displayed there is the default PHP version of the Enduser's PHP binary. It is displayed in the Admin panel but is displays the Enduser's PHP version.

Which method are you using to change the PHP version for the enduser from the default PHP version ?

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

Posted By: capalon on December 30, 2012, 7:18 pm | Post: 4
You asked for the version in the Softaculous Admin panel, not the Enduser site.  There is no way for the Softaculous Admin panel to know WHICH Enduser website I am interested in so it CANNOT display anything about the Enduser website configuration or its PHP binary version.  I think you are talking about two different things, at least in the case of H-sphere.  The Softaculous panel DOES NOT run within the Enduser's web space in H-sphere so therefore it's PHP version has nothing to do with the settings for the Enduser website in H-sphere.

I am using the standard method to select/change the PHP version in H-sphere.  It is a standard capability of the hosting panel to allow individual websites Enduser's to select the PHP version used for their website.  This is under the website's Web Options area in the Enduser's area of H-sphere.  The method is openly published in the H-sphere end user documentation under the section about turning on PHP support in the Enduser website.  H-sphere has had this capability since version 3.1 so it is nothing new, nor is it a special custom trick I am doing.  It is a clickable setting in the H-sphere panel.

The Enduser website is using PHP version 5.3.17, and this is shown to be correct by running a phpinfo() call from within the EndUser website when accessed in my web browser.  PHP runs as FastCGI in this particular website case rather than the default libphp setting that the Softaculous Admin panel sees in its configuration.

The installer script is validating the PHP version for a script install incorrectly at least for the H-sphere control panel.  The default "server" setting has nothing to do with the PHP version used by an individual Enduser website, and the PHP version in the Softaculous panel does not necessarily match that of the PHP version of the website it is installing a script into.

Posted By: Brijesh on January 4, 2013, 6:09 am | Post: 5
Hi,

Sorry for the delay.

We are testing this H-Sphere option on our test servers. However you can configure a hook in Softaculous where you can define the PHP version as per your method of changing  the PHP version. If PHP version is defined here Softaculous will skip its PHP version check.

Please refer to the following guide :
http://softaculous.com/docs/Hooks#Define_PHP_Version

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

Posted By: pipeten on April 11, 2013, 4:17 pm | Post: 6
Hi,
Did this get resolved?

Exactly the same problem with a brand new h-sphere install.

Made the changes to /usr/local/softaculous/enduser/hooks/pre_install.php so it looks like:

PHP Code

 function __pre_install(){   
    global 
$soft$software$globals;
    
$version '5.3.17';
    
define('php_version'$version);
    
// Do stuff here e.g. is as follows
    
if($soft == 26){ /* Do things only if its WordPress */    }




When installing Joomla 3.0.3 get the error:

PHP Code

 The MySQL Connection could not be established



I can't seem to find any log which tries to explain further / helps though :(

Posted By: pipeten on April 11, 2013, 4:34 pm | Post: 7
Sorry, think we fixed this. Silly error of not enough credit on end-users account.

Ty.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.