flandercan
New member
- Joined
- Jan 26, 2018
- Messages
- 2
Hi
I am trying to switch the PHP version for 1-2 2-1 however it doesnt appear to update the settings
Using
Gives me result
I want to switch php1_select to 1 and vice versa , trying to achieve this with
Which results in
However the php select does not change.
Any Ideas ?
Thanks
Paul
I am trying to switch the PHP version for 1-2 2-1 however it doesnt appear to update the settings
Using
Code:
$result3 = $da->query("CMD_API_ADDITIONAL_DOMAINS", array("action" => "view", "domain" => "usr0364.htm5.howtomoodle.com"), "POST");
print_r ($result3);
Gives me result
Code:
Array
(
[UseCanonicalName] => OFF
[active] => yes
[bandwidth] => unlimited
[cgi] => OFF
[defaultdomain] => yes
[domain] => usr0364.htm5.howtomoodle.com
[has_multiple_ips] => no
[has_php_selector] => yes
[ip] => 89.40.44.51
[open_basedir] => ON
[php] => ON
[php1_info] => PHP 5.6 php-fpm
[php1_select] => 2
[php1_ver] => 5.6
[php2_info] => PHP 7.1 mod_php
[php2_select] => 1
[php2_ver] => 7.1
[private_html] => link
[quota] => unlimited
[safemode] => OFF
[ssl] => ON
[suspended] => no
[username] => usr0364
)
I want to switch php1_select to 1 and vice versa , trying to achieve this with
Code:
$result3 = $da->query("CMD_API_DOMAIN",
array("action" => "modify",
"domain" => "usr0364.htm5.howtomoodle.com",
"ubandwidth" => "unlimited",
"uquota" => "unlimited",
"php1_select" => "1",
"php2_select" => "2",
"ssl" => "ON",
"php" => "ON",
), "POST");
Which results in
Code:
Array
(
[error] => 0
[text] => The domain has been modified
[details] =>
)
However the php select does not change.
Any Ideas ?
Thanks
Paul