I am setting up a VPS and followed the nginx, PHP, MySQL instructions for WordPress from this tutorial http://tutspundit.com/howto-install-nginx-php-fpm-mysql-php533-wordpress-ubuntu-part-1/ and then http://tutspundit.com/how-to-install-nginx-php-fpm-mysql-php533-wordpress-part-2/
The problem is the php file returns the php code itself in the browser without parsing it. So what did I miss?
Update: Staring phpfpm or nginx works fine but I think nginx isn't aware of phpfm at all, some link is missing perhaps? I checked nginx error logs but there is nothing related to php. I can't seem to figure out what is missing.