Julio's Blog

Adding PHP support to Nginx.

In the last post, I show how to install and configure Nginx on CentOS. In this post, I will show you how to add PHP support to that installed Nginx web server. There are two ways to add PHP support to Nginx: One by Using PHP-FastCGI and the other way is to use PHP-FPM. Using PHP-FPM is the simple way to add PHP support to Nginx and the way that i will demonstrate on this blog. Enabling REMI First, we will need to add the REMI repository to the system. To do this we will download and install the remi-release rpm (notice that EPEL needs to... read more »