Prev: Variable variables into an array.
Next: Mail_Mime: undefined method Mail_mimePart::encodeHeader()
From: Martin Minka on 10 Aug 2010 10:01 Hello, I am using PHP 5.3.3 compiled as PHP-FPM. My Apache is using mod_fastcgi to connect to PHP-FPM and everything works as expected. Unfortunately I don't know how to forward request http://localhost/status to PHP-FPM so that I will see the status page of PHP-FPM. I found only NGINX configuration http://forum.nginx.org/read.php?3,56426,56578. Could you pls. help me to fix this configuration ? FastCgiExternalServer /opt/php-5.3.3/bin/www -socket /dev/shm/fpm-www.socket -idle-timeout 900 ScriptAlias /php-bin/ /opt/php-5.3.3/bin/ <Directory /var/www> <IfModule mod_fastcgi.c> <FilesMatch \.php$> SetHandler php-fastcgi Action php-fastcgi /php-bin/www </FilesMatch> </IfModule> </Directory> I was trying something like: <Location /status> SetHandler php-fastcgi Action php-fastcgi /php-bin/www </Location>
|
Pages: 1 Prev: Variable variables into an array. Next: Mail_Mime: undefined method Mail_mimePart::encodeHeader() |