|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-05 10:27 UTC] nikic@php.net
[2017-10-05 10:27 UTC] nikic@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 03:00:02 2025 UTC |
Description: ------------ when compile on v7.x branch they stop with the next error: 'zend_hash_key' has no member named 'arKey' in sapi/apache2handler/apache_config.c arkey has been removed from zend_hash_key and replaced by key... has to change arkey by key, but not only, beceause key ar now zend_string, they must use ZSTR_VAL to retreive the "char*" of the string. they bug are in 7.0, 7.1 and master branch... --- php-7.0.24/sapi/apache2handler/apache_config.c 2017-10-05 01:21:53.998969000 +0200 +++ php-src/sapi/apache2handler/apache_config.c 2017-10-05 01:56:42.624035000 +0200 @@ -128,7 +128,7 @@ if (new_per_dir_entry->status >= orig_per_dir_entry->status) { /* use new entry */ - phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", ZSTR_VAL(hash_key->key), new_per_dir_entry->status, orig_per_dir_entry->status)); + phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", hash_key->arKey, new_per_dir_entry->status, orig_per_dir_entry->status)); return 1; } else { return 0; @@ -176,7 +176,7 @@ php_dir_entry *data; ZEND_HASH_FOREACH_STR_KEY_PTR(&d->config, str, data) { - phpapdebug((stderr, "APPLYING (%s)(%s)\n", ZSTR_VAL(str), data->value)); + phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value)); if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) { phpapdebug((stderr, "..FAILED\n")); } i've done 3 pullrequest on github : - https://github.com/php/php-src/pull/2810 for PHP-7.0 branch - https://github.com/php/php-src/pull/2808 for master branch - https://github.com/php/php-src/pull/2807 for PHP-7.1 branch