Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
PHP with nginx is about to Become a Lot Easier
May 04, 2010 @ 13:49:54

On the SitePoint PHP blog today Louis Simoneau talks about something that can potentially make the PHP+ngnix combination even faster - the inclusion of the PHP-FPM patch into PHP's core.

You may be asking, "What is PHP-FPM, and why should I care?" PHP-FPM is a patch for PHP core that handles the starting, stopping, and restarting of FastCGI processes as needed. This is important because nginx can only interface with PHP via FastCGI, unlike Apache, which loads the whole PHP environment right into itself.

Right now, the only downside to setting up the FastCGI interface with nginx takes a bit more work than the normal mod_php Apache handles so well. The PHP-FPM patch helps with some of this by making the FastCGI support directly embedded into PHP, removing the need for a lot of external setup.

tagged: fastcgi phpfpm patch ngnix

Link:

Alexy Kovyrin's Blog:
Nginx With PHP As FastCGI Howto
May 30, 2006 @ 23:06:02

On Alexy Kovyrin's blog today, there's a new post that aims to help you squeeze every last bit of performance out of your Apache server dishing out your PHP scripts - with a little help from Nginx.

After my first post about nginx web and reverse-proxy server, I have received many e-mail comments and questions. One of the most popular questions was "How to use PHP with nginx?". This small howto-like article is about how to do it.

The Nginx software actually supports working with the FastCGI software which, in turn, can run your PHP scripts at a bit speedier pace. He walks you through a simple install, just enough to get things working, before giving you the script you'll need to get FastCGI to correctly work with PHP. Finally, he helps you configure the Nginx software to provide the final piece of the puzzle.

tagged: apache install ngnix fastcgi tutorial configuration apache install ngnix fastcgi tutorial configuration

Link:

Alexy Kovyrin's Blog:
Nginx With PHP As FastCGI Howto
May 30, 2006 @ 23:06:02

On Alexy Kovyrin's blog today, there's a new post that aims to help you squeeze every last bit of performance out of your Apache server dishing out your PHP scripts - with a little help from Nginx.

After my first post about nginx web and reverse-proxy server, I have received many e-mail comments and questions. One of the most popular questions was "How to use PHP with nginx?". This small howto-like article is about how to do it.

The Nginx software actually supports working with the FastCGI software which, in turn, can run your PHP scripts at a bit speedier pace. He walks you through a simple install, just enough to get things working, before giving you the script you'll need to get FastCGI to correctly work with PHP. Finally, he helps you configure the Nginx software to provide the final piece of the puzzle.

tagged: apache install ngnix fastcgi tutorial configuration apache install ngnix fastcgi tutorial configuration

Link:


Trending Topics: