MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: josifbg on 2014-01-21, 10:12:07

Title: PHP-FPM Post Max Size and Upload File Max Size
Post by: josifbg on 2014-01-21, 10:12:07
When PHP-FPM_event is selected as PHP-Type the Post Max Size and Upload File Max Size  are not working.

No matter what values i set for the domain the changes are not applied.

Any ideas?
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: Spacedust on 2014-01-21, 13:24:47
Change them in /etc/php.ini then reload php-fpm
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: josifbg on 2014-01-21, 13:29:07
will try and report back!

Thanks
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: josifbg on 2014-01-21, 15:49:47
Change them in /etc/php.ini then reload php-fpm

Well if i change values in /eth/php.ini this will be applied on all server and related domain...

This can be simply changed in KloxoMR GUI Advance PHP Settings....

This is not what i want...

What I want is to change values for the specific domain, not the whole server...

Any ideas?
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: chrisf on 2014-01-21, 16:27:07
Use php_ruid2 - advanced php settings doesn't work for php-fpm.

I have developed a way, but in previous talks with Mustafa (posts before forum crash) my idea was dismissed.
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: josifbg on 2014-01-21, 16:32:07
Use php_ruid2 - advanced php settings doesn't work for php-fpm.

I have developed a way, but in previous talks with Mustafa (posts before forum crash) my idea was dismissed.

Sure I used php_ruid2 before but the total performance of loading the sites and simple tests shows that using php-fpm is a way faster response...  and this is the main reason to for me to use php-fpm. I don`t mind to use php_ruid2...
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: chrisf on 2014-01-21, 16:38:10
Yes, php-fpm has much greater performance.  It was not designed to use individual php.ini on a per client pool basis.  You can hard code into the php-fpm.tpl if you want for just a certain client.

It does support .user.ini files, however, you would have to Google that.  ;)
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: josifbg on 2014-01-21, 16:51:45
Yes, php-fpm has much greater performance.  It was not designed to use individual php.ini on a per client pool basis.  You can hard code into the php-fpm.tpl if you want for just a certain client.

It does support .user.ini files, however, you would have to Google that.  ;)

@Chrisf, Thank you for the tip man even though I have no idea on how to do that... :)
Title: Re: PHP-FPM Post Max Size and Upload File Max Size
Post by: josifbg on 2014-01-22, 09:12:07
UPDATE: I`ve google it but didn`t find any solution so far :(
Is there any other php-type i can use instead of php-fpm?

The goal is to have performance and per domain settings like php_ruid2?