azazqadir azazqadir - 7 months ago
871 0

LEMP stack is a type of stack which consists of Linux, Nginx, MySQL, PHP-FPM and PHP. It’s used by many developers around the world to speed up their websites. Source: Setup LEMP Stack on Debian

PHP

Creating LEMP Stack on Debian

location ~ \.php$ {

               

               fastcgi_pass unix:/var/run/php5-fpm.sock;

               fastcgi_index index.php;

               fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

               include fastcgi_params;

               

       }
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download