[php-maint] Bug#705106: Bug#705106: php5: /usr/lib/php5/maxlifetime returns no output

Ondřej Surý ondrej at debian.org
Fri May 3 08:23:04 UTC 2013


tags 705106 +moreinfo
thank you

There must be something else going on.

Could you please write down exact steps to reproduce this issue? Since
I am unable to reproduce the issue

root at howl:~# php
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20100525/gd.so' - /usr/lib/php5/20100525/gd.so: cannot
open shared object file: No such file or directory in Unknown on line
0


root at howl:~# /usr/lib/php5/maxlifetime
24

root at howl:~# php
PHP Deprecated:  Comments starting with '#' are deprecated in
/etc/php5/cli/conf.d/20-gd.ini on line 3 in Unknown on line 0


root at howl:~# /usr/lib/php5/maxlifetime
24

O.

On Wed, Apr 10, 2013 at 11:29 AM, Michal Palenik <bugs at debian.iz.sk> wrote:
> Package: php5
> Version: 5.4.4-14
> Severity: important
>
> Dear Maintainer,
>
>
> /usr/lib/php5/maxlifetime returns no output if some of the php.ini files
> contain an error/warning. error in php.ini are quite easy to get: some
> depreciated php option in interfaces user does not use (cli, fpm, ...)
>
> in the code there is line
> "error_reporting='~E_ALL'"
> which causes the the maxlifetime script to return nothing, which is then
> interpreted by /etc/cron.d/php5 as 0 which as a result does not clear
> session files. my outcome was /var running out of inodes and server
> crashing. running the files does not report any error.
>
> solution:
> change /usr/lib/php5/maxlifetime  from
> "error_reporting='~E_ALL'"
> to
> "error_reporting='~E_NONE'"
> (or alternatively do not override default setting set in */php.ini)
>
> michal
>
>
>
> -- System Information:
> Debian Release: 7.0
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=sk_SK.utf8, LC_CTYPE=sk_SK.utf8 (charmap=UTF-8) (ignored: LC_ALL set to sk_SK.utf8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5  5.4.4-14
> ii  php5-common          5.4.4-14
>
> php5 recommends no packages.
>
> php5 suggests no packages.
>
> -- no debconf information
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej at sury.org>



More information about the pkg-php-maint mailing list