directly connect to php-fpm from commandline (using cgi-fcgi)

This shall simply be a repost as I must never forget this. It has helped me a lot in debugging Webserver<->PHP interaction:

rtcamp.com: Directly connect to PHP-FPM