According to bug #28878 please read the last comment: http://bugs.php.net/bug.php?id=28878

The user wants to set doc_root or open_basedir from the obj.conf of his webserver. He cannot do this because the NSAPI plugin changes only PHP_INI_USER values:

if (zend_alter_ini_entry(entry->param->name, strlen(entry->param->name)+1,
entry->param->value, strlen(entry->param->value),
PHP_INI_USER, PHP_INI_STAGE_RUNTIME)==FAILURE) {
log_error(LOG_WARN, pblock_findval("fn", NSG(pb)), NSG(sn), NSG(rq), "Cannot change php.ini key \"%s\" to \"%s\"", entry->param->name, entry->param->value);
}


NSAPI is multithreaded so changing of SYSTEM values reflects to other threads or not? In my thoughts at PHP_INI_STAGE_RUNTIME you can only change PHP_INI_USER variables or is that wrong?

-----
Uwe Schindler
[EMAIL PROTECTED] - http://www.php.net
NSAPI SAPI developer
Erlangen, Germany

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to