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, 14:40:55

Author Topic: PHP Used and PHP Branch  (Read 6212 times)

0 Members and 1 Guest are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
PHP Used and PHP Branch
« on: 2017-06-07, 07:12:25 »
What are PHP Used and PHP Branch? I am still not completely understand it. What exactly the differences?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP Used and PHP Branch
« Reply #1 on: 2017-06-07, 13:12:28 »
There are 4 php terms in Kloxo-MR. One of them is 'php branch' and others are 'multiple php', 'secondary php' and 'php used'.

Because Kloxo-MR 7.0 can handle multiple php where every website using different php version. For this situation, we need to set 'default php'. For php-fpm, this 'default php' set via 'php used'. For non php-fpm (only possible in apache; like suphp), 'default php' is 'php branch'.

If we list php via 'yum list php*' we can see various php like php54, php56u and so on. This various php are 'php branch' and install to server via 'yum install'.

Difference with 'php branch', 'multiple php' installed via 'special' treatment (may different trick for each control panel). This 'multple php' (only under php-fpm; remember web servers except apache always use php-fpm) may possible use for every website with select via 'php selected' in 'web features' (in php-fpm) or via modified .htaccess file for apache (non php-fpm; aka php-cgi).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: PHP Used and PHP Branch
« Reply #2 on: 2017-06-08, 13:16:39 »
What about 'Secondary PHP'? When is this used?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP Used and PHP Branch
« Reply #3 on: 2017-06-08, 13:35:19 »
Term of 'secondary php' taken from Kloxo-MR 6.5. This feature only work under Apache with using worker (like suphp_worker/php-fpm_worker) or event (like suphp_event/php-fpm_event) and setting via .htaccess. See content of .htaccess in document root to know more.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.04 seconds with 22 queries.

web stats analysis