Comments on Installing Nginx with PHP (as PHP-FPM) and MariaDB (LEMP) on Debian 8

This tutorial will show you the installation of the Nginx web server on Debian 8. 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. The setup includes PHP and MariaDB and is ready to use its as hosting system for CMS systems like Wordpress, Joomla, Drupal etc.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: TIm

Hi, could you explain the reasonable keepalive_timeout? Thanks

By: Bénoît Segond von Banchet

Hi,

Thanks for this tutorial.

Why do you advise to set "cgi.fix_pathinfo=0:" where package instructions explicitly state: "...Default is 1. You should fix your scripts to use SCRIPT_FILENAME rather than PATH_TRANSLATED. ..." ?

Bénoît

By: till

Because this setting ensures that hosted websites will work correctly. But leave it at the default and fix the code of your websites when they fail, if you prefer that.

By: fred

Thanks for your effort. But so far this tutorial does not work. My browser tries to download the info.php instead of opening it.

By: pranav sreekumar

For installin  nano

you can use the command

 

# yum install nano

By: Peter King

PHP 5... how old is this article?