Debian Bug report logs - #825933
php7.0-fpm: Apache2 configuration implicitely requires mod_setenvif

version graph

Package: php7.0-fpm; Maintainer for php7.0-fpm is (unknown);

Reported by: Colomban Wendling <lists.ban@herbesfolles.org>

Date: Tue, 31 May 2016 14:27:01 UTC

Severity: important

Found in version php7.0/7.0.7-3

Fixed in version php7.0/7.0.7-4

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, lists.ban@herbesfolles.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#825933; Package php7.0-fpm. (Tue, 31 May 2016 14:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to Colomban Wendling <lists.ban@herbesfolles.org>:
New Bug report received and forwarded. Copy sent to lists.ban@herbesfolles.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 31 May 2016 14:27:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Colomban Wendling <lists.ban@herbesfolles.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php7.0-fpm: Apache2 configuration implicitely requires mod_setenvif
Date: Tue, 31 May 2016 16:21:59 +0200
Package: php7.0-fpm
Version: 7.0.7-3
Severity: important

Dear Maintainer,

The default Apache2 configuration for PHP7-FPM requires Apache module
mod_setenvif to be enabled (for SetEnvIfNoCase), but doesn't enable it
itself nor guards against it, resulting in Apache2 failing to start
altogether:

> apache2[3860]: Starting Apache httpd web server: apache2 failed!
> apache2[3860]: The apache2 configtest failed. ... (warning).
> apache2[3860]: Output of config test was:
> apache2[3860]: AH00526: Syntax error on line 5 of /etc/apache2/conf-enabled/php7.0-fpm.conf:
> apache2[3860]: Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not include
> apache2[3860]: Action 'configtest' failed.
> apache2[3860]: The Apache error log may have more information.

Enabling Apache module setenvif fixes the issue:

> # a2enmod setenvif
> # service apache2 restart
> (nothing)

Regards,
Colomban

-- Package-specific info:
==== Additional PHP 7.0 information ====

++++ PHP 7.0 SAPI (php7.0query -S): ++++

++++ PHP 7.0 Extensions (php7.0query -M -v): ++++

++++ Configuration files: ++++
[PHP]
engine = On
short_open_tag = Off
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 17
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
disable_classes =
zend.enable_gc = On
expose_php = Off
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = On
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 8M
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
doc_root =
user_dir =
enable_dl = Off
file_uploads = On
upload_max_filesize = 2M
max_file_uploads = 20
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
[CLI Server]
cli_server.color = On
[Date]
[filter]
[iconv]
[intl]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=
[Phar]
[mail function]
SMTP = localhost
smtp_port = 25
mail.add_x_header = On
[SQL]
sql.safe_mode = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"
[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
[OCI8]
[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[bcmath]
bcmath.scale = 0
[browscap]
[Session]
session.save_handler = files
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 0
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
[Assertion]
zend.assertions = -1
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1
[mcrypt]
[dba]
[opcache]
[curl]
[openssl]

**** /etc/php/7.0/fpm/conf.d/20-pdo_mysql.ini ****
extension=pdo_mysql.so

**** /etc/php/7.0/fpm/conf.d/20-xmlreader.ini ****
extension=xmlreader.so

**** /etc/php/7.0/fpm/conf.d/20-calendar.ini ****
extension=calendar.so

**** /etc/php/7.0/fpm/conf.d/20-sysvsem.ini ****
extension=sysvsem.so

**** /etc/php/7.0/fpm/conf.d/20-sysvshm.ini ****
extension=sysvshm.so

**** /etc/php/7.0/fpm/conf.d/20-bz2.ini ****
extension=bz2.so

**** /etc/php/7.0/fpm/conf.d/10-mysqlnd.ini ****
extension=mysqlnd.so

**** /etc/php/7.0/fpm/conf.d/20-zip.ini ****
extension=zip.so

**** /etc/php/7.0/fpm/conf.d/20-xmlwriter.ini ****
extension=xmlwriter.so

**** /etc/php/7.0/fpm/conf.d/20-mysqli.ini ****
extension=mysqli.so

**** /etc/php/7.0/fpm/conf.d/20-simplexml.ini ****
extension=simplexml.so

**** /etc/php/7.0/fpm/conf.d/20-iconv.ini ****
extension=iconv.so

**** /etc/php/7.0/fpm/conf.d/20-tokenizer.ini ****
extension=tokenizer.so

**** /etc/php/7.0/fpm/conf.d/20-mbstring.ini ****
extension=mbstring.so

**** /etc/php/7.0/fpm/conf.d/20-sysvmsg.ini ****
extension=sysvmsg.so

**** /etc/php/7.0/fpm/conf.d/20-shmop.ini ****
extension=shmop.so

**** /etc/php/7.0/fpm/conf.d/20-readline.ini ****
extension=readline.so

**** /etc/php/7.0/fpm/conf.d/20-wddx.ini ****
extension=wddx.so

**** /etc/php/7.0/fpm/conf.d/10-pdo.ini ****
extension=pdo.so

**** /etc/php/7.0/fpm/conf.d/20-xsl.ini ****
extension=xsl.so

**** /etc/php/7.0/fpm/conf.d/20-dom.ini ****
extension=dom.so

**** /etc/php/7.0/fpm/conf.d/20-exif.ini ****
extension=exif.so

**** /etc/php/7.0/fpm/conf.d/10-opcache.ini ****
zend_extension=opcache.so

**** /etc/php/7.0/fpm/conf.d/20-gd.ini ****
extension=gd.so

**** /etc/php/7.0/fpm/conf.d/20-posix.ini ****
extension=posix.so

**** /etc/php/7.0/fpm/conf.d/20-sockets.ini ****
extension=sockets.so

**** /etc/php/7.0/fpm/conf.d/20-ctype.ini ****
extension=ctype.so

**** /etc/php/7.0/fpm/conf.d/20-json.ini ****
extension=json.so

**** /etc/php/7.0/fpm/conf.d/20-fileinfo.ini ****
extension=fileinfo.so

**** /etc/php/7.0/fpm/conf.d/20-gettext.ini ****
extension=gettext.so

**** /etc/php/7.0/fpm/conf.d/20-ftp.ini ****
extension=ftp.so

**** /etc/php/7.0/fpm/conf.d/15-xml.ini ****
extension=xml.so

**** /etc/php/7.0/fpm/conf.d/20-phar.ini ****
extension=phar.so


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php7.0-fpm depends on:
ii  init-system-helpers  1.34
ii  libapparmor1         2.10-4
ii  libc6                2.22-9
ii  libmagic1            1:5.25-2
ii  libpcre3             2:8.38-3.1
ii  libssl1.0.2          1.0.2h-1
ii  libsystemd0          230-1
ii  libxml2              2.9.3+dfsg1-1
ii  mime-support         3.60
ii  php7.0-cli           7.0.7-3
ii  php7.0-common        7.0.7-3
ii  php7.0-json          7.0.7-3
ii  php7.0-opcache       7.0.7-3
ii  tzdata               2016d-2
ii  ucf                  3.0036
ii  zlib1g               1:1.2.8.dfsg-2+b1

php7.0-fpm recommends no packages.

Versions of packages php7.0-fpm suggests:
ii  php-pear  1:1.10.1+submodules+notgz-8

Versions of packages php7.0-common depends on:
ii  libc6        2.22-9
ii  libssl1.0.2  1.0.2h-1
ii  php-common   1:41
ii  ucf          3.0036

-- no debconf information



Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Fri, 03 Jun 2016 12:39:12 GMT) (full text, mbox, link).


Notification sent to Colomban Wendling <lists.ban@herbesfolles.org>:
Bug acknowledged by developer. (Fri, 03 Jun 2016 12:39:12 GMT) (full text, mbox, link).


Message #10 received at 825933-close@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: 825933-close@bugs.debian.org
Subject: Bug#825933: fixed in php7.0 7.0.7-4
Date: Fri, 03 Jun 2016 12:35:15 +0000
Source: php7.0
Source-Version: 7.0.7-4

We believe that the bug you reported is fixed in the latest version of
php7.0, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 825933@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated php7.0 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 03 Jun 2016 13:22:25 +0200
Source: php7.0
Binary: libapache2-mod-php7.0 libphp7.0-embed php7.0 php7.0-cgi php7.0-cli php7.0-dev php7.0-fpm php7.0-phpdbg php7.0-xsl php7.0-odbc php7.0-readline php7.0-recode php7.0-sqlite3 php7.0-xml php7.0-zip php7.0-sybase php7.0-gd php7.0-gmp php7.0-ldap php7.0-common php7.0-intl php7.0-mysql php7.0-mcrypt php7.0-snmp php7.0-curl php7.0-json php7.0-pgsql php7.0-mbstring php7.0-enchant php7.0-opcache php7.0-imap php7.0-bcmath php7.0-tidy php7.0-soap php7.0-dba php7.0-interbase php7.0-xmlrpc php7.0-pspell php7.0-bz2
Architecture: source
Version: 7.0.7-4
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description:
 libapache2-mod-php7.0 - server-side, HTML-embedded scripting language (Apache 2 module)
 libphp7.0-embed - HTML-embedded scripting language (Embedded SAPI library)
 php7.0     - server-side, HTML-embedded scripting language (metapackage)
 php7.0-bcmath - Bcmath module for PHP
 php7.0-bz2 - bzip2 module for PHP
 php7.0-cgi - server-side, HTML-embedded scripting language (CGI binary)
 php7.0-cli - command-line interpreter for the PHP scripting language
 php7.0-common - documentation, examples and common module for PHP
 php7.0-curl - CURL module for PHP
 php7.0-dba - DBA module for PHP
 php7.0-dev - Files for PHP7.0 module development
 php7.0-enchant - Enchant module for PHP
 php7.0-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
 php7.0-gd  - GD module for PHP
 php7.0-gmp - GMP module for PHP
 php7.0-imap - IMAP module for PHP
 php7.0-interbase - Interbase module for PHP
 php7.0-intl - Internationalisation module for PHP
 php7.0-json - JSON module for PHP
 php7.0-ldap - LDAP module for PHP
 php7.0-mbstring - MBSTRING module for PHP
 php7.0-mcrypt - libmcrypt module for PHP
 php7.0-mysql - MySQL module for PHP
 php7.0-odbc - ODBC module for PHP
 php7.0-opcache - Zend OpCache module for PHP
 php7.0-pgsql - PostgreSQL module for PHP
 php7.0-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary)
 php7.0-pspell - pspell module for PHP
 php7.0-readline - readline module for PHP
 php7.0-recode - recode module for PHP
 php7.0-snmp - SNMP module for PHP
 php7.0-soap - SOAP module for PHP
 php7.0-sqlite3 - SQLite3 module for PHP
 php7.0-sybase - Sybase module for PHP
 php7.0-tidy - tidy module for PHP
 php7.0-xml - DOM, SimpleXML, WDDX, XML, and XSL module for PHP
 php7.0-xmlrpc - XMLRPC-EPI module for PHP
 php7.0-xsl - XSL module for PHP (dummy)
 php7.0-zip - Zip module for PHP
Closes: 825933
Changes:
 php7.0 (7.0.7-4) unstable; urgency=medium
 .
   * Don't break apache2 configuration if setenvif_module is not enabled
     (Closes: #825933)
   * Add notice about apache2 notices when apache2 package is installed
Checksums-Sha1:
 eb2ae2e1576c4b4502457be4fadd23f6ce50e5eb 5678 php7.0_7.0.7-4.dsc
 3dc7af3f2d92ab1e9dacee585d432af18eb3f331 61172 php7.0_7.0.7-4.debian.tar.xz
Checksums-Sha256:
 73683bbf1fa44bd21575fadcc2dcc395d02a5cb5961822c3f8a381863cdcd194 5678 php7.0_7.0.7-4.dsc
 abdd52ca8eda964f957d3b76f61e45eb28a69fefcda096fd687ce299d6f22b78 61172 php7.0_7.0.7-4.debian.tar.xz
Files:
 c27a3acfb16ddd38f89d980ab57b8fee 5678 php optional php7.0_7.0.7-4.dsc
 71ba8d6d3940addfcfa2c0c528f1954f 61172 php optional php7.0_7.0.7-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJXUXVKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHh4MQAKFJCSO/xnAL2iZcRUlV3luj
brVVjrb8LfMMCi62H69Clg6Je9047nMHv75Fe2AB/wzwtF3xpGg0Alf6mUDbmIOA
8tGZkHfjwn9KU6wITXCy1Oi5mYFJwyW0oP17wvsC8ht7C9NSBhEIfEPgNNs0NtQu
4BGaeXspkP+AfXdcwtjUuX9/qO3Q411agBrtFA4FgQqU/GVStQIDJJLcKRE3WBrJ
wQB/0/vba8kKNmnZWPhmkCQfQ6wBmhA06zQjqgyQMpjpobYNjMbFSUjAp9Ssi87m
MVomHorki7Fk7uiRbSWphJf4agX0QEXisOj8jrKklw4ymzGi3g0UNQyMTW+KVDip
X0u4/jXOoS7U6CBXATpG43xbyOm8yFP3KgVIsW68VLJTtel2Xc5bI8ywAT0Y8S8p
/VEuotSX0PLJ5E46ZQHf+xqbCESaHfhdSO4YJIhTQ0cNAB8RdnNpqlq+Pw2gPE65
EaKwrnZvLLC6gR2cfzsnUxCs6v8jwibgV1i8OkPDPFHCoJMB0WQ+lhvLLIPlFark
R7YY1ufh8pC1bHoNKTDKejC+rV+U19fcmOBjStdf+HwkGHXmArkzGNQzor9/6rQr
wvGGOv/DTCKpW3jq7OsVj7a1JaZyDevHQndD7Kujnatt4mlgyfKAvT6/hdj4YyxM
1DoUFklJlmIe1HDGPNWa
=1scp
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 07 Jul 2016 07:29:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 03:40:45 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.