summary'>refslog'>tree'>commit'>diff'>stats
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-01-21 02:53:22 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-01-21 02:53:22 +0000
commit'>7bb7d7af594651463051acb9c33b56cf6830a6af ( (patch)
tree'>1a912d1ce4241078d964ba06e41f0c593128b961
parent'>MAJOR: php: Add compatibility with PHP7 ('>diff)
downloadmod_virtualvalue-7bb7d7af594651463051acb9c33b56cf6830a6af.tar.gz
BUG/MAJOR: php: Use PHP_INI_STAGE_ACTIVATEHEADv0.4.3master
This is needed in order to avoid ZEND_INI_MH(OnUpdateBaseDir) to enforce proposed open_basedir to be at least as restrictive as the current setting
-rw-r--r--'>al_php.c22
1 files changed, 1 insertions, 1 deletions
diff --git a/al_php.c b/ b/al_php.c
index fdc0545..2d5e39c 100644
--- a/al_php.c
+++ b/'>al_php.c
@@ -56,7 +56,7 @@ int vv_php_alter_ini(int argc __U__, char **argv, request_rec *r)
if (zend_alter_ini_entry_ex(MOD_VIRTUALVALUE__ZEND_ALTER_INI_ENTRY__STR(argv[0]),
MOD_VIRTUALVALUE__ZEND_ALTER_INI_ENTRY__STR(arg),
- PHP_INI_SYSTEM, PHP_INI_STAGE_HTACCESS, 1) == FAILURE)
+ PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE, 1) == FAILURE)
VV_error("zend_alter_ini_entry_ex() failed (%s %s)", argv[0], arg);
VV_debug("Altered to %s %s", argv[0], arg);