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.
<!--more--> <p>I found a great <a href="http://jit.nuance9.com/2008/01/serving-php5-with-nginx-on-ubuntu-710.html">article</a> on how to get r done. There were a few gotcha's that I ran into, but honestly, it worked like a charm.</p>
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.