Categories
Generally Sysadmin

Php-cgi and suexec like configuration using NginX and php-fpm (LEMP Setup)

If we want to secure our own LAMP server or provide web space for friends or customers we would usually use php-cgi and suexec to let the scripts execute with different users. With NginX the setup somewhat differs but with php-fpm pools we can achieve the same sort of additional security.