Quote From : Brijesh July 30, 2012, 5:40 am We do check the PHP version for the public web server.
Are you using any module like using an .htaccess to define the PHP version ?
Softaculous determines the default PHP version of the server.
We do not use .htaccess to define the PHP version. There is only 1 version of PHP installed on the cPanel server, which is 5.3.14.
Quote From : Brijesh July 30, 2012, 5:40 am
Thanks, this seems to work. Based on your example:
$version = phpversion();
define('php_version', $version);
We modified it to:
$version = 5.3.14;
However it didn't work. So we tried:
$version = "5.3.14";
and it didn't work either.
Finally we had to trick it temporarily by entering 5.4 so that it is higher than Moodle's 5.3.2 requirement:
$version = 5.4;
What is the correct way to specify 5.3.14 in this case?
|