Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 13:06:27

Author Topic: Unable to change php version  (Read 8859 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Unable to change php version
« 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?
Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Unable to change php version
« Reply #1 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.



« Last Edit: 2017-05-10, 19:34:08 by fossxplorer »
Kloxo-MR!

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.047 seconds with 18 queries.

web stats analysis