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

We know one more thing.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: