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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
30 - 3 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC