[php-maint] Bug#793385: php5: /etc/php5/cli/php.ini memory_limit ignored
sulfo
sulfo at ynet.sk
Thu Jul 23 14:21:38 UTC 2015
Package: php5
Version: 5.4.41-0+deb7u1
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.8
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages php5 depends on:
ii libapache2-mod-php5 5.4.41-0+deb7u1
ii php5-common 5.4.41-0+deb7u1
php5 recommends no packages.
php5 suggests no packages.
-- no debconf information
Description:
Installed mediawiki and tried to run some of the maintenance scripts. They crashed with error:
PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 3072 bytes) in
/usr/share/mediawiki/maintenance/Maintenance.php on line 157
.... which seemed odd since the limits in all possible config files were set to 128MB (as far as I
remember by default, I don't remember tampering with the settings since fresh install).
Possible cause:
The php cli config (/etc/php5/cli/php.ini) seems to have wrong syntax for memory_limit (is missing
the 'M' after 128).
More information about the pkg-php-maint
mailing list