Q:

Run PHP 5 with other than Apache http server?

I was wondering is there optional/secondary solution for Apache http server?
I have Ubuntu 14.04 and I was messing with mail servers. Somehow I broke my Apache installation and wasn't able to fix it. 
What are other alternatives to run PHP5 locally on my Ubuntu machine?
I have Node.JS http-server installed but NodeJs can run only JavaScript.

A:

You can install nginx which is an alternate http server to apache. You can then configure php5-fpm to run through nginx.
There is a great guide at https://help.ubuntu.com/community/Nginx that covers installing and setup of nginx with php5 (php5-fpm)

