Comments on How to Install Nginx with PHP and MySQL (LEMP Stack) on CentOS 7.6

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a CentOS 7.6 server with PHP support (through PHP-FPM) and MySQL (Mariadb) support.

7 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Azaz Qadir

This is a really tedious task. You have to write so many commands just to install Nginx. This is the reason why I prefer managed hosting platform where Nginx, Apache and everything else are already installed. This saves a lot of time for me.

By: brody

what version of nginx does this install?

By: luis medina

This is a great post, nginx it's a great option even to an small server. The low footprint makes it more suitable for sites with small resources and heavy trafic.

By: Chris

This is a horrible post, as this simply does not say how to install PHP :/

By: till

It explains in detail how to install PHP off course, see chapter "5 Installing PHP" on the second page. I guess you missed to read page 2 :)

By: Eugene

Very good article. I tried to use the digital ocean article and for some reason ran into issues. I did run into one issue when following your article but it was due to my own typeo!

Thank you

By: Leszek

 Thanks for a nice tutorial, however it didn't say how to enable SSL. You open the firewall for SSL, but then nothing.