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
 [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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 23:01:26 2024 UTC