MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: chut on 2017-03-08, 15:05:00

Title: Ask ? i can use multi php version per folder or not ?
Post by: chut on 2017-03-08, 15:05:00
I see it can use Multiple PHP on Domain Name and Sub Domain Name

but Kloxo MR 7  it can use multiple php version on folder ex.

mydomain.com => php branch
mydomain.com/test1/ => Selected : PHP 7.1
mydomain.com/test2/ => Selected : PHP 5.4
mydomain.com/test3/test1/ => Select : PHP 7.2

it can config ? if it can how to step to config

Thanks you   ;)
Title: Re: Ask ? i can use multi php version per folder or not ?
Post by: MRatWork on 2017-03-08, 15:38:49
Only possible in Apache. Read .htaccess file in document root for each domain.
Title: Re: Ask ? i can use multi php version per folder or not ?
Post by: chut on 2017-03-09, 05:23:19
work with only suPHP and fcgi  ? Not php-fpm in secondary php

before i try fcgi with php-fpm not work

i change php-fpm event to fcgi event it work

main domain is use php 5.6 and sub domain use php 7.1

Thanks you
Title: Re: Ask ? i can use multi php version per folder or not ?
Post by: MRatWork on 2017-03-09, 05:36:39
work with only suPHP and fcgi  ? Not php-fpm in secondary php

before i try fcgi with php-fpm not work

i change php-fpm event to fcgi event it work

main domain is use php 5.6 and sub domain use php 7.1

Thanks you
Yes. Near impossible to use php-fpm mode for directory.