Welcome! Log In Create A New Profile

Advanced

Re: Best way to use PHP with nginx?

Jérôme Loyet
November 15, 2009 09:54AM
2009/11/15 Momchil Ivanov <slogster@gmail.com>:
> На петък 13 ноември 2009 16:28:57 Jérôme Loyet написа:
>> Hi,
>>
>> Is there a php-fastcgi process launcher and controller at the same time ?
>> Because php-fastcgi or spwan-fcgi just launches N php children, N constant.
>> I'm looking for a way to spawn fastcgi process depending on the number
>> of concurent requests ... has anyone heard about something like that ?
>
> The simplest approach would be to just hack the php code that starts N
> children processes and somehow control that N, here is an example [1]. There
> is a more complicated approach, that of php-fpm, it can do a lot more than
> just launch N processes. What it still cannot do (as of my knowledge, but that
> might have changed) is to dynamically control that N number. If you give them
> some money, maybe they will fix that part soon.
>
>
> 1: http://xaxo.eu/en/patches_php-ctrlfifo.html

There is several software or patches which can handle this kind of
stuff, but none is stable, none is suitable

php-fpm looks great, but it's not accurate enought because it's:
a patch to php core, it depends on a certain version of libevent (and
it's not compatible with OpenBSD for example), it's still a beta, some
features are missing ... it's a good start but definitely not enought.

>
> Momchil
>
>
Subject Author Posted

Best way to use PHP with nginx?

John Moore November 13, 2009 08:50AM

Re: Best way to use PHP with nginx?

vesperto November 13, 2009 08:56AM

Re: Best way to use PHP with nginx?

John Moore November 13, 2009 09:48AM

Re: Best way to use PHP with nginx?

John Moore November 13, 2009 09:48AM

Re: Best way to use PHP with nginx?

vesperto November 13, 2009 10:24AM

Re: Best way to use PHP with nginx?

Jérôme Loyet November 13, 2009 10:32AM

Re: Best way to use PHP with nginx?

vesperto November 13, 2009 10:38AM

Re: Best way to use PHP with nginx?

Arie Karhendana November 13, 2009 10:44AM

Re: Best way to use PHP with nginx?

Momchil Ivanov November 15, 2009 09:28AM

Re: Best way to use PHP with nginx?

Jérôme Loyet November 15, 2009 09:54AM

Re: Best way to use PHP with nginx?

Jérôme Loyet November 15, 2009 10:56AM

Re: Best way to use PHP with nginx?

Grzegorz Nosek November 16, 2009 04:16AM

Re: Best way to use PHP with nginx?

Peter Leonov November 13, 2009 11:08AM

Re: Best way to use PHP with nginx?

Grzegorz Nosek November 13, 2009 11:32AM

Re: Best way to use PHP with nginx?

Peter A Leonov November 13, 2009 02:12PM

Re: Best way to use PHP with nginx?

John Moore November 13, 2009 12:58PM

Re: Best way to use PHP with nginx?

Jérôme Loyet November 13, 2009 01:10PM

Re: Best way to use PHP with nginx?

Juan Fco. Giordana November 14, 2009 11:06AM

Re: Best way to use PHP with nginx?

William Dode November 15, 2009 12:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready