Best way to use PHP with nginx?

Grzegorz Nosek grzegorz.nosek at gmail.com
Fri Nov 13 19:27:16 MSK 2009


On Fri, Nov 13, 2009 at 07:03:07PM +0300, Peter Leonov wrote:
> On 13.11.2009, at 16:45, 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?
> >
> 
> 
> This thread might be of help: http://forum.nginx.org/read.php?2,15145,15401
> It's about complicated things (unstable nginx module, process  
> supervising), so get ready ;)

Just in case you missed it, the module is already available:

http://forum.nginx.org/read.php?2,17812,17812#msg-17812

Oh, and we never said it's unstable, it's just young and not yet tested
enough to be considered bulletproof.

OTOH, it might be a tad overkill for simple PHP serving, you may wish to
use php-fpm instead.

Best regards,
 Grzegorz Nosek





More information about the nginx mailing list