Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10720 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97293 invoked by uid 1010); 23 Jun 2004 09:58:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97238 invoked from network); 23 Jun 2004 09:58:44 -0000 Received: from unknown (HELO mail.troja.net) (80.190.230.99) by pb1.pair.com with SMTP; 23 Jun 2004 09:58:44 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id ECEF01E5E for ; Wed, 23 Jun 2004 11:58:41 +0200 (CEST) Received: from mail.troja.net ([127.0.0.1]) by localhost (cyca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27036-03 for ; Wed, 23 Jun 2004 11:58:40 +0200 (CEST) Received: from vega.php.net (p50847C85.dip.t-dialin.net [80.132.124.133]) (using SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTP id C96C81DEC for ; Wed, 23 Jun 2004 11:58:39 +0200 (CEST) Message-ID: <6.1.0.6.0.20040623115307.04023b60@127.0.0.1> X-Sender: thetaphi.troja.net@bla X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Wed, 23 Jun 2004 11:58:44 +0200 To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new at troja.net X-Spam-Status: Yes, hits=6.3 tagged_above=0.0 required=4.0 tests=BAYES_50, RCVD_IN_DYNABLOCK, RCVD_IN_NJABL, RCVD_IN_NJABL_DIALUP, RCVD_IN_SORBS X-Spam-Level: ****** X-Spam-Flag: YES Subject: Changing php.ini values in SunONE webserver question From: thetaphi@php.net (Uwe Schindler) 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 thetaphi@php.net - http://www.php.net NSAPI SAPI developer Erlangen, Germany