---

How To Install Nginx, MariaDB, PHP (LEMP stack) on Ubuntu 18.04 Bionic Beaver Linux

If you want to run PHP-based websites on Linux, Apache isn’t your only option. Nginx is a faster, lighter weight, web server that’s fairly easy to configure and get running. Plus, it’s excellent at handling other tasks like load balancing, server optimization, and acting as a reverse proxy. Actually, Nginx is a top choice among startups for hosting their web applications. Setting Nginx up to host PHP on Ubuntu 18.04 is very simple, and you only need a few packages installed to get started.