Skip to main content

Installing php-fpm and nginx on Debian 8

From the stable and fast server depends on the fate of the site. Its slow work and frequent drops can scare away both visitors and search engines. The latter will also lower the rating of the braking site in the search results and it will not be in the top 10, but, say, in the top 100 for all queries.

Using a bunch of nginx and php-fpm for site maintenance allows you to increase the speed of their work, as well as the stability of the system as a whole. In addition, by refusing to use apache, we simplify the system somewhat and even protect it. After all, if there is no apache, then the attacker will not be able to use, for example, the .htaccess file for his own purposes.

The nginx + php-fpm bundle is quite easy to configure and it is supported by many popular CMS: WordPress, MODX, DLE, various frameworks. All this can work without bulky apache.

When installing a web server, do not do without creating users. Ideally, a separate user should be created for each site. So we can protect other sites if one of the users is hacked. The examples in this article are written taking into account the fact that you created users according to the instructions .

(Further…)