php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72018 php_admin_value override
Submitted: 2016-04-13 16:26 UTC Modified: -
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: raphael dot droz+floss at gmail dot com Assigned:
Status: Open Package: FPM related
PHP Version: 5.6.20 OS: Debian 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: raphael dot droz+floss at gmail dot com
New email:
PHP Version: OS:

 

 [2016-04-13 16:26 UTC] raphael dot droz+floss at gmail dot com
Description:
------------
Only the first value given to php_admin_value is taken into account.

[section]
php_admin_value[memory_limit] = 64M
php_admin_value[memory_limit] = 128M

Result: memory_limit = 64M
Expected: memory_limit = 128M

This is even more annoying when you consider overriding values of an include in a top-level file.

Example:
[section]
include "blah.include" ;; which set php_admin_value[memory_limit] = 64M
php_admin_value[memory_limit] = 128M

Result: memory_limit = 64M
Expected: memory_limit = 128M



Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 20:01:23 2020 UTC