Posted By: jigar on July 28, 2012, 4:47 am | Post: 1 |
Hi,
Softaculous uses 3rdparty PHP Binary. Can you open a ticket ? so that we can look into it. http://www.softaculous.com/support |
Posted By: Brijesh on July 30, 2012, 5:40 am | Post: 2 |
Hi,
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. You can also define the PHP version using the Hooks: http://softaculous.com/docs/Hooks#Define_PHP_Version ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Baby on July 30, 2012, 7:20 am | Post: 3 |
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 You can also define the PHP version using the Hooks:
http://softaculous.com/docs/Hooks#Define_PHP_Version 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? |
Posted By: Brijesh on July 30, 2012, 7:26 am | Post: 4 |
Hi,
This should work : $version = '5.3.14'; ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Baby on July 30, 2012, 8:03 am | Post: 5 |
Thanks, yes that works. ![]() |
Posted By: Brijesh on November 8, 2012, 5:21 am | Post: 7 |
Hi,
Sir it seems that you are using .htaccess file to change the PHP version for a directiry for that you can use the following hook : http://softaculous.com/docs/Hooks#Change_PHP_Version_using_.htaccess ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Brijesh on November 8, 2012, 7:23 am | Post: 9 |
Hi,
Sir you will have to define your method to determine the PHP version here : http://softaculous.com/docs/Hooks#Define_PHP_Version Once the PHP version is defined here Softaculous will skip its version check process. ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |