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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC