Severity 759195 important
Thanks
I've also just run into this issue, I had to comment out a total of
three different configuration directives in /etc/php5/apache2/php.ini
allow_call_time_pass_reference, magic_quotes_gpc and register_long_arrays
I don't recall ever setting any of these
Thanks guys!
That's solved my problem !
On Fri, 29 Aug 2014 15:00:32 +0200 Bastian
bastian-bugs.debian.org-759...@t6l.de wrote:
On 29Aug14 14:54 +0200, Ondřej Surý wrote:
Try with
-d display_errors=On -d display_startup_errors=On
Aha, that did it:
{{{
# php5 -c
Hi,
I hit this bug after upgrading to 5.4.4-14+deb7u14
I get error report from cron via mail.
While the maxlifetime script inspects all php.ini files, it first
iterates over the apache2/php.ini file. In this case the script does not
print out any value and just exits with 1, which in turn ends
Hi Bastian,
strip the -d error_reporting='~E_ALL'
from the php command line and re-run the php, e.g.:
php5 -c /etc/php5/apache2/php.ini -r 'print
ini_get(session.gc_maxlifetime); print \n;'
The script probably should be more fool-proof, I'll prepare something
for next security update.
Hi Ondřej,
thanks for your quick reply.
On 29Aug14 12:41 +0200, Ondřej Surý wrote:
strip the -d error_reporting='~E_ALL'
from the php command line and re-run the php, e.g.:
php5 -c /etc/php5/apache2/php.ini -r 'print
ini_get(session.gc_maxlifetime); print \n;'
Still, same behaviour.
Try with
-d display_errors=On -d display_startup_errors=On
On Fri, Aug 29, 2014, at 14:38, Bastian wrote:
Hi Ondřej,
thanks for your quick reply.
On 29Aug14 12:41 +0200, Ondřej Surý wrote:
strip the -d error_reporting='~E_ALL'
from the php command line and re-run the php, e.g.:
On 29Aug14 14:54 +0200, Ondřej Surý wrote:
Try with
-d display_errors=On -d display_startup_errors=On
Aha, that did it:
{{{
# php5 -c /etc/php5/apache2/php.ini -r 'print
ini_get(session.gc_maxlifetime);' -d display_errors=On -d
display_startup_errors=On
Fatal error: Directive
On Fri, Aug 29, 2014, at 15:00, Bastian wrote:
On 29Aug14 14:54 +0200, Ondřej Surý wrote:
Try with
-d display_errors=On -d display_startup_errors=On
Aha, that did it:
{{{
# php5 -c /etc/php5/apache2/php.ini -r 'print
ini_get(session.gc_maxlifetime);' -d display_errors=On -d
Package: php5
Version: 5.4.4-14+deb7u14
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
I ran into this problem and realized that sh /usr/lib/php5/maxlifetime wasn't
returning a number of hours. So there isn't any argument being given to -cmin
and the find command outputs the error reported by Norbert.
Running sh /usr/lib/php5/maxlifetime gave me the error message Fatal error:
Fixing your /etc/php5/*/php.ini to *not include* deprecated directives
(preferred).
Or applying this patch:
diff --git a/debian/maxlifetime b/debian/maxlifetime
index d5a536b..df79d76 100644
--- a/debian/maxlifetime
+++ b/debian/maxlifetime
@@ -5,7 +5,7 @@ max=1440
if which php5 /dev/null 21;
11 matches
Mail list logo