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, 15:37:27

Author Topic: PHP-FPM Post Max Size and Upload File Max Size  (Read 7081 times)

0 Members and 1 Guest are viewing this topic.

Offline josifbg

  • Junior Member
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
PHP-FPM Post Max Size and Upload File Max Size
« 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?

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #1 on: 2014-01-21, 13:24:47 »
Change them in /etc/php.ini then reload php-fpm

Offline josifbg

  • Junior Member
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #2 on: 2014-01-21, 13:29:07 »
will try and report back!

Thanks

Offline josifbg

  • Junior Member
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #3 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?

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #4 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.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline josifbg

  • Junior Member
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #5 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...

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #6 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.  ;)
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline josifbg

  • Junior Member
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #7 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... :)

Offline josifbg

  • Junior Member
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: PHP-FPM Post Max Size and Upload File Max Size
« Reply #8 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?

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.04 seconds with 22 queries.

web stats analysis