Browse files

adding caveat about static process management

  • Loading branch information...
1 parent 70de0c7 commit c23f9a897c888a35902a305c5acb704d197a21df @tjstein tjstein committed Jun 27, 2010
Showing with 11 additions and 4 deletions.
  1. +11 −4 README
@@ -1,8 +1,15 @@
-If you're using Nginx, you can set up the status location directive like this:
+For the phpfpm_status plugin, you'll need to enable the status feature included in newer version of PHP-FPM. Jérôme
+Loyet from the Nginx forums provided some useful insight on how to get this working with Nginx. You'll essentially set
+up the status location directive like this:
location ~ ^/(status|ping)$ {
include fastcgi_params;
- fastcgi_pass;
- fastcgi_param SCRIPT_FILENAME /var/www/$fastcgi_script_name;
- allow;
+ fastcgi_pass backend;
+ fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
+ allow;
+ allow stats_collector.localdomain;
+ allow watchdog.localdomain;
+ deny all;
+Note: The phpfpm_status plugin is particularly useful if you're using dynamic process management. You can choose static or dynamic in the php5-fpm.conf.

0 comments on commit c23f9a8

Please sign in to comment.