Re: OT: PHP-FPM Status Page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> On May 17, 2011 16:47 , "--[ UxBoD ]--" <uxbod@xxxxxxxxxxxx>  wrote:
> > It would have been nice to get it working as I would like to
> > implement
> > it at work and monitor with OpenNMS; including the ping/pong URLs.
> > On
> > my dev server I have tried:
> > <IfModule mod_fastcgi.c>
> >        FastCgiExternalServer /fcgi-bin/php-fpm -host 127.0.0.1:9081
> >        ScriptAlias /fcgi-bin/ /fcgi-bin/
> >        AddHandler php-fcgi .php
> >        Action php-fcgi /fcgi-bin/php-fpm
> >        <Location "/status/">
> >           SetHandler php-fcgi
> >        </Location>
> > </IfModule>
> >
> > and in php-fpm.conf I added:
> >
> > pm.status_path = /fcgi-bin/php-fpm/status
> >
> > So when I connect too http://somesite.com/status the request should
> > be passed to /fcgi-bin/php-fpm should it not ?
> 
> Not having used mod_fastcgi ever (I've used mod_fcgid and
> mod_proxy_fcgi) I'm not sure.  I can tell you that I misread the
> configuration above in your initial email, and hence my initial
> suggestion for pm.status_path is wrong.   Be sure to set
> pm.status_path
> to whatever URI mod_fastcgi will be passing to PHP-FPM -- if it will
> be
> passing /status (without the trailing slash) then set pm.status_path
> to
> be /status as well.  This will depend on whether you've set a PHP
> docroot, among other things.
> 
> Also, is PHP-FPM working normally for you except for the status page?
> 

Yeah, PHP-FPM is working fine and the performance is wonderful. Will have another play tomorrow evening. Thank you for your help Mark.
-- 
Thanks, Phil

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux