Installing Nginx

Problem

You have no web server installed.

You'd like to install a web server for your Laravel application to use.

Solution

Install Nginx.

Here are the instructions for Ubuntu 13.04.

laravel:~$ sudo apt-get install -y php5-fpm nginx
laravel:~$ sudo service nginx start

Discussion

Nginx is pronounced "engine-x".

Nginx is rapidly becoming the favorite web server for techies everywhere.

It's fast, easy to configure, and doesn't use as much memory as Apache.

See also Creating a Nginx VirtualHost

comments powered by Disqus