Debian Bug report logs - #737963
php5: directives "upload_max_filesize" and "post_max_size" are ignored in /etc/php5/apache2/php.ini

version graph

Package: php5; Maintainer for php5 is (unknown);

Reported by: Francesco De Francesco <francesco.defrancesco@gmail.com>

Date: Fri, 7 Feb 2014 10:27:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version php5/5.4.4-14+deb7u7

Done: Ondřej Surý <ondrej@sury.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, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737963; Package php5. (Fri, 07 Feb 2014 10:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Francesco De Francesco <francesco.defrancesco@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Fri, 07 Feb 2014 10:27:06 GMT) (full text, mbox, link).


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

From: Francesco De Francesco <francesco.defrancesco@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5: directives "upload_max_filesize" and "post_max_size" are ignored in /etc/php5/apache2/php.ini
Date: Fri, 07 Feb 2014 11:03:40 +0100
Package: php5
Version: 5.4.4-14+deb7u7
Severity: normal

Directives upload_max_filesize and post_max_size are not read unless you move them at the top of the file.

After weeks of headache I tried to change the php.ini this way after reading bug #685156, worked instantly. Before, only default values were read in phpinfo().

Oddly enough, memory_limit directive was normally read.

-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5 depends on:
ii  libapache2-mod-php5  5.4.4-14+deb7u7
ii  php5-common          5.4.4-14+deb7u7

php5 recommends no packages.

php5 suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737963; Package php5. (Mon, 10 Mar 2014 10:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Thijs Kinkhorst" <thijs@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 10 Mar 2014 10:36:04 GMT) (full text, mbox, link).


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

From: "Thijs Kinkhorst" <thijs@debian.org>
To: "Francesco De Francesco" <francesco.defrancesco@gmail.com>, 737963@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [php-maint] Bug#737963: php5: directives "upload_max_filesize" and "post_max_size" are ignored in /etc/php5/apache2/php.ini
Date: Mon, 10 Mar 2014 11:33:43 +0100
tags 737963 moreinfo unreproducible
thanks

Hi,

On Fri, February 7, 2014 11:03, Francesco De Francesco wrote:
> Directives upload_max_filesize and post_max_size are not read unless you
> move them at the top of the file.
>
> After weeks of headache I tried to change the php.ini this way after
> reading bug #685156, worked instantly. Before, only default values were
> read in phpinfo().
>
> Oddly enough, memory_limit directive was normally read.

I tried just now and the changed value is correctly reflected after an
Apache reload. I suspect that there may be something else going on; maybe
a duplicate occurrence of this directive in your php.ini or in any of the
included php.ini snippets?


Cheers,
Thijs



Added tag(s) unreproducible and moreinfo. Request was from "Thijs Kinkhorst" <thijs@debian.org> to control@bugs.debian.org. (Mon, 10 Mar 2014 10:36:10 GMT) (full text, mbox, link).


Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Fri, 04 Jul 2014 12:13:49 GMT) (full text, mbox, link).


Notification sent to Francesco De Francesco <francesco.defrancesco@gmail.com>:
Bug acknowledged by developer. (Fri, 04 Jul 2014 12:13:49 GMT) (full text, mbox, link).


Message #17 received at 737963-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: 737963-done@bugs.debian.org
Subject: moreinfo not received, closing the bug
Date: Fri, 04 Jul 2014 14:09:49 +0200
Version: php5/5.4.4-14+deb7u7

-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 02 Aug 2014 07:31:22 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 01:26:14 2023; Machine Name: buxtehude

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.