Welcome! Log In Create A New Profile

Advanced

Re: Best way to use PHP with nginx?

Jérôme Loyet
November 13, 2009 10:32AM
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 ?

++ jerome

2009/11/13 Nuno Magalhães <nunomagalhaes@eu.ipp.pt>:
> On Fri, Nov 13, 2009 at 14:43, John Moore <grails@jmsd.co.uk> wrote:
> [...]
>> He says "There are dozens of HOWTOs for configuring nginx to direct .php
>> files requests to FastCGI, but only a few covering the topic of running the
>> PHP FastCGI backend. None of them covers the correct way, though. Let me
>> show you how to get it right…PHP CGI binary is perfectly able running a
>> FastCGI interface by itself. There is no need to run it with an external
>> wrapper. No need to install anything more than the PHP itself."
> [...]
>> I suppose I should really have named the topic "Best way to use PHP with
>> nginx under Ubuntu" because that's what I'm most interested in.
>
> PHP does come as CLI and/or CGI. Ubuntu is Debian-based, so you'll
> most likely just need the php-cgi package (or similar) and a boot
> script to start it up, which will probably be included and placed
> under /etc/init.d
>
> --
> ()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
> /\  ascii ribbon campaign - against html e-mail
>
>
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: 315
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