Drupal 8 on Centos 7 with Nginx and PostgreSQL

This article details the steps needed to install Drupal 8 on CentOS with Nginx as a web server and PostgreSQL as a database. At the time of writing, CentOS 8 is still in the works, so we will use the current CentOS 7 release instead, 7.6.1810. Since Drupal 8 requires a more modern version of PHP than the one supplied by CentOS 7 (PHP 5.4), we will use Remi Collet’s RHEL repository to install PHP 7.3. Follow the instructions on Remi’s site to install and enable the Enterprise Linux 7 repository, remi-release-7.rpm.