Xenial default configuration refers to PHP5, not PHP7; uses incorrect default php-fpm socket path as well

Bug #1547642 reported by Thomas Ward on 2016-02-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nginx (Ubuntu)
Thomas Ward

Bug Description

Given that we now are having php7.0 in Xenial, the default configuration for NGINX needs updated to match.

While not enabled by default, the default configurations have 'preset' items to make it easier to just 'enable' PHP support; this includes pointing to the socket file path for php5-fpm. Given we don't have php5-fpm anymore, we need to update this to match php7.0-fpm's defaults instead.

This does NOT add any new functionality, nor does it change any default configuration of feature-enablement; it is to address cases where users use the default configuration examples instead of setting site configurations up themselves, so that we don't have any bugs filed for 'PHP FPM settings in defaults are not valid!' issues.

Thomas Ward (teward) wrote :

This is a bugfix only upload; it does not modify any existing functionality nor does it bring any new features. It simply updates the configuration with regards to php7.0 existing and php5 not existing.

This did not make it in before FeatureFreeze due to my own mistake, and some timing delays which delayed 1.9.11 entering Ubuntu in the first place

Thomas Ward (teward) wrote :

Debdiff for the fix.

Thomas Ward (teward) wrote :
Thomas Ward (teward) on 2016-02-19
Changed in nginx (Ubuntu):
status: In Progress → Fix Committed
tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nginx - 1.9.11-0ubuntu2

nginx (1.9.11-0ubuntu2) xenial; urgency=medium

  * This is a bug-fix only upload and does not include any new changes to
  * debian/conf/sites-available/default: Modify PHP 'default example' settings
    to account for php5 being replaced with php7.0 in Xenial. Also adapt the
    UNIX socket path for php7.0-fpm to be the one used by default in Xenial.
    (LP: #1547642)

 -- Thomas Ward <email address hidden> Fri, 19 Feb 2016 14:13:28 -0500

Changed in nginx (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers