com php-src: fix apache handler build: sapi/apache2handler/ap ache_config.c
| From: | Stanislav Malyshev | Date: | Mon, 01 Sep 2014 21:49:52 +0000 |
| Subject: | com php-src: fix apache handler build: sapi/apache2handler/ap ache_config.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81349@lists.php.net to get a copy of this message | ||
Commit: d18803eb5fcbcde78da6ed5d41921dea073c6806
Author: Stanislav Malyshev <stas@php.net> Mon, 1 Sep 2014 14:49:52 -0700
Parents: 1ff1a0dde2427e78738c93a3ac3e9b111824ee27
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d18803eb5fcbcde78da6ed5d41921dea073c6806
Log:
fix apache handler build
Changed paths:
M sapi/apache2handler/apache_config.c
Diff:
diff --git a/sapi/apache2handler/apache_config.c b/sapi/apache2handler/apache_config..c
index 5302afc..09d42b5 100644
--- a/sapi/apache2handler/apache_config.c
+++ b/sapi/apache2handler/apache_config.c
@@ -192,7 +192,7 @@ void apply_config(void *dummy)
ZEND_HASH_FOREACH_STR_KEY_PTR(&d->config, str, data) {
phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value));
- if (zend_alter_ini_entry(str, data->value, data->value_len, data->status,
data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
+ 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"));
}
} ZEND_HASH_FOREACH_END();