summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/apache_config.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-07-04 12:47:10 +0000
committerDmitry Stogov <dmitry@php.net>2005-07-04 12:47:10 +0000
commitd647e000a7678ef5dbc198c04bce92a055d85437 (patch)
tree7b91bff791dc62fd610c81d710cc435bad041187 /sapi/apache2handler/apache_config.c
parent6ba4559b51e86e1f8a3565f749870edbea7eb146 (diff)
downloadphp-git-d647e000a7678ef5dbc198c04bce92a055d85437.tar.gz
Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed)
Diffstat (limited to 'sapi/apache2handler/apache_config.c')
-rw-r--r--sapi/apache2handler/apache_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/apache_config.c b/sapi/apache2handler/apache_config.c
index bf0b2e0cc3..62feef00d9 100644
--- a/sapi/apache2handler/apache_config.c
+++ b/sapi/apache2handler/apache_config.c
@@ -166,7 +166,7 @@ void apply_config(void *dummy)
zend_hash_move_forward(&d->config)) {
zend_hash_get_current_data(&d->config, (void **) &data);
phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value));
- if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, PHP_INI_STAGE_RUNTIME) == FAILURE) {
+ if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, PHP_INI_STAGE_ACTIVATE) == FAILURE) {
phpapdebug((stderr, "..FAILED\n"));
}
}