I needed to drop PHP5 on a home dev box (running Debian Stable) and since Nginx is all the rage, I wanted to see if I could use that instead of apache.
I found a great article on how to get r done. There were a few gotcha's that I ran into, but honestly, it worked like a charm.
The largest issue was that the line:
fastcgi_param SCRIPT_FILENAME /var/www/nginx-default$fastcgi_script_name
was truncated to
fastcgi_param SCRIPT_FILENAME /var/www/nginx-default$fastcgi_script_
So I cleaned that up, and ended up with
fastcgi_param SCRIPT_FILENAME /var/www/$fastcgi_script_name
and Bam. Chili Fries.