|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2015-02-27 05:06 UTC] aserbulov at parallels dot com
 Description: ------------ http://php.net/manual/en/configuration.changes.php --- only configuration values changeable in PHP_INI_USER can be set this way --- Expected result: ---------------- PHP_INI_SYSTEM configuration options should not be overridden by Per Directory Values. Actual result: -------------- Per Directory Values overrides PHP_INI_SYSTEM configuration options. Patchesbug69134.patch (last revision 2015-03-04 18:53 UTC by ab@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 03:00:01 2025 UTC | 
patch --- --- win32/registry.c Wed Jan 21 10:23:27 2015 +++ win32/registry.c Fri Feb 27 10:40:52 2015 @@ -261,7 +261,7 @@ zend_hash_get_current_data_ex(ht, (void**)&data, &pos) == SUCCESS && zend_hash_get_current_key_ex(ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING; zend_hash_move_forward_ex(ht, &pos)) { - zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); + zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_USER, PHP_INI_STAGE_ACTIVATE); } break; } ---