MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: fossxplorer on 2017-05-10, 18:40:31

Title: Unable to change php version
Post by: fossxplorer on 2017-05-10, 18:40:31
I'm changing subdomains => web features => "PHP Selected" from php70 to PHP56m, but nothing happens.
I'm doing this from "master" and the client is on server2 controlled by "master".

How can i force it to php56m on server2 for that client? Is it possible to use different php versions for different sub domains too?
Also, server2 ONLY runs Nginx (NOT reverse proxy). Could that be the problem?
Title: Re: Unable to change php version
Post by: fossxplorer on 2017-05-10, 19:26:49
Running sh /script/fixweb  --server=server2_IP --client=clientname
seems to work AFTER choosing "PHP selected" in "web features" by the client.

EDIT: the problem seems to be 'set $var_phpselected 'php56m';' is not set correctly when changing php version from web feature for the "Slave" and a reload of the Nginx after change of the config.