Update to trusty. Raring is not supported any longer
Make nginx talk to php5-fpm

The default php5-fpm config uses the unix socket, while nginx tries to connect
to the localhost:9000 socket. This makes nginx use the unix socket.