Welcome! Log In Create A New Profile

Advanced

Re: Best way to use PHP with nginx?

William Dode
November 15, 2009 12:50PM
On 13-11-2009, John Moore wrote:
> I have come across a handful of different methods detailed on the
> Internet for getting PHP running with nginx, but haven't come across the
> 'definitive' version. What method do the regular nginx users on here favour?

I used spawn-fcgi, but with this thread i tried php-cgi -b, it's more
simple to install on debian.

I use supervisord to start it, autostart=unexepected since v 3 (the
sample.conf is not correct, it says =true), and i just saw that when
php-cgi stop it exit with error 0 so it was not restarted !

Sorry for my bad english. I just mean that if you use supervisord with
php-cgi -b you should set autorestart=true

bye

--
William Dodé - http://flibuste.net
Informaticien Indépendant
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: 312
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