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

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

Written By
NC
Nick Congleton
May 23, 2018

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.

NC

Nick Congleton

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.