How to Install Nginx , Php 7.2 [Help]

Posted December 27, 2018 9.1k views

I’m looking to setup single WordPress website
can anyone help me out to find good tut for installing update to Nginx , php and DB ..with SSL

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

Hey friend,

This should work:

Ubuntu 18 includes PHP 7.2 as default in it’s repository, so the only thing you’re left with after this tutorial is the SSL part, which can be handled here:


by Hazel Virdó
by Kathleen Juell
In this tutorial, we will show you how to use Let's Encrypt to obtain a free SSL certificate and use it with Nginx on Ubuntu 18.04. We will also show you how to automatically renew your SSL certificate. If you're running a different web server, simply follow your web server's documentation to learn how to use the certificate with your setup.

what about CentOS which will be better Ubuntu 18 or CentOS 7