← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1831748] Re: Update /etc/nginx/sites-enabled/default with php-fpm 7.2

 

This configuration that is referred to in the duplicate now linked here
is a Debian and Ubuntu specific configuration option in the **example**
default config.  While it may not match with the CURRENT PHP paths it is
designed as an example rather than a "quickly enable this feature"
mechanism.  This issue is specific to the NGINX configuration in Debian
and Ubuntu and should only be tracked on those relevant bug trackers and
not the NGINX upstream project (as I indicated on the nginx-devel list
last week).

** Also affects: nginx
   Importance: Undecided
       Status: New

** Changed in: nginx
       Status: New => Won't Fix

** Changed in: nginx
       Status: Won't Fix => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1831748

Title:
  Update /etc/nginx/sites-enabled/default with php-fpm 7.2

Status in Nginx:
  Invalid
Status in nginx package in Ubuntu:
  Triaged
Status in nginx source package in Xenial:
  Won't Fix
Status in nginx source package in Bionic:
  Won't Fix
Status in nginx source package in Cosmic:
  Won't Fix
Status in nginx source package in Disco:
  Won't Fix

Bug description:
  After install Nginx creates a file called /etc/nginx/sites-
  enabled/default which is a link to /etc/nginx/sites-available/default

  A line inside is commented for use in PHP-FPM (7.0):

   #location ~ \.php$ {
          #       include snippets/fastcgi-php.conf;
          #
          #       # With php-fpm (or other unix sockets):
          #       fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
          #       # With php-cgi (or other tcp sockets):
          #       fastcgi_pass 127.0.0.1:9000;
          #}

  
  The php-fpm line should read: 
  #       fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;

  as Ubuntu 18.04 uses PHP 7.2 not Debians PHP 7.0

  A simple problem but a confusion I've noticed come up more than once.

  
  Description:    Ubuntu 18.04.2 LTS
  Release:        18.04

  Installed: 1.14.0-0ubuntu1.2
    Candidate: 1.14.0-0ubuntu1.2
    Version table:
   *** 1.14.0-0ubuntu1.2 500
          500 http://mirrors.digitalocean.com/ubuntu bionic-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
          100 /var/lib/dpkg/status
       1.14.0-0ubuntu1 500
          500 http://mirrors.digitalocean.com/ubuntu bionic/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/nginx/+bug/1831748/+subscriptions