Tagged: PHP-FPM

Installing Nginx with PHP and PHP-FPM

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...

How to make PHP-FPM to use a Unix Socket

By default PHP-FPM is listening on port 9000 on 127.0.0.1. It is also possible to make PHP-FPM use a Unix socket which avoids the TCP overhead. To do this, open /etc/php-fpm.d/www.conf… vi /etc/php-fpm.d/www.conf and make the listen line look as...