i've installed php-fpm on Centos 5.8 + Apache2
So, the question is: how do i check if php-fpm is serving the php requests ?
With an index.php like this one below
echo "php-fpm test";
calling http://localhost/index.php
the output is fine, but
if I run
service php-fpm stop
the same call works fine anyway.
Why?
You can install a package and try and connect. The package name is called
libfcgi
.cgi-fcgi -bind -connect localhost:9000
If I was to guess, you probably installed PHP to spawn workers that don't disconnect when FPM is stopped, or you are running both
/etc/init.d/php5-cgi
and/etc/init.d/php-fpm
.