PHP-FPM is not plaintext: How to connect to it to troubleshoot
Our dev team has learned something new today.
We were wrestling with the Appsbang php-fpm. At one point, we wanted to connect it directly using Telnet, but it wouldn’t work.
Turns out it’s because it’s not plain text!
We found the solution here. There is a tool called cgi-fcgi that allows queries directly to php-fpm!
To install it: yum – enablerepo = spell install fcgi
To connect: cgi-fcgi-bind-connect 127.0.0.1:9000
We know one more thing.