← 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 bug was fixed in the package nginx - 1.16.1-0ubuntu2

---------------
nginx (1.16.1-0ubuntu2) eoan; urgency=medium

  * d/conf/sites-available/default: Update PHP referred to in the
    example in the default configuration to PHP 7.2.
    (LP: #1831748)

 -- Thomas Ward <teward@xxxxxxxxxx>  Thu, 15 Aug 2019 12:01:39 -0400

** Changed in: nginx (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
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