php5 sessionmanagement ignores values in custom ini files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Medium
|
James Page | ||
Precise |
Fix Released
|
Medium
|
James Page |
Bug Description
if the variable session.
will ignore the value and use the default value of 1440.
To fix ist, use this diff for /usr/lib/
--- maxlifetime 2012-01-13 16:23:46.000000000 +0100
+++ maxlifetime.patched 2012-01-13 16:23:28.000000000 +0100
@@ -7,7 +7,7 @@
[ -z "$cur" ] && cur=0
[ "$cur" -gt "$max" ] && max=$cur
else
- for ini in /etc/php5/
+ for ini in /etc/php5/*/php.ini /etc/php5/
[ -z "$cur" ] && cur=0
[ "$cur" -gt "$max" ] && max=$cur
Architecture: amd64
Distribution: Ubuntu 11.10
package: php5-common 5.3.6-13ubuntu3.3
Related branches
Changed in php5 (Ubuntu): | |
importance: | Undecided → High |
Changed in php5 (Ubuntu): | |
status: | New → Confirmed |
importance: | High → Medium |
status: | Confirmed → Triaged |
Changed in php5 (Ubuntu Precise): | |
assignee: | nobody → James Page (james-page) |
The attachment "maxlifetime.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]