[php-maint] Bug#737963: php5: directives "upload_max_filesize" and "post_max_size" are ignored in /etc/php5/apache2/php.ini

Francesco De Francesco francesco.defrancesco at gmail.com
Fri Feb 7 10:03:40 UTC 2014

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

More information about the pkg-php-maint mailing list