Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10724 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60960 invoked by uid 1010); 23 Jun 2004 13:07:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60927 invoked from network); 23 Jun 2004 13:07:03 -0000 Received: from unknown (HELO mail.troja.net) (80.190.230.99) by pb1.pair.com with SMTP; 23 Jun 2004 13:07:03 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id AECE0268D for ; Wed, 23 Jun 2004 15:07:01 +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 27325-05 for ; Wed, 23 Jun 2004 15:06:59 +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 11C54166E for ; Wed, 23 Jun 2004 15:06:59 +0200 (CEST) Message-ID: <6.1.0.6.0.20040623150623.04000668@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 15:07:06 +0200 To: internals@lists.php.net In-Reply-To: <6.1.0.6.0.20040623115307.04023b60@127.0.0.1> References: <6.1.0.6.0.20040623115307.04023b60@127.0.0.1> 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=AWL, RCVD_IN_DYNABLOCK, RCVD_IN_NJABL, RCVD_IN_NJABL_DIALUP, RCVD_IN_SORBS X-Spam-Level: ****** X-Spam-Flag: YES Subject: Re: [PHP-DEV] Changing php.ini values in SunONE webserver question From: thetaphi@php.net (Uwe Schindler) Its no problem... :) Works correct. Changed. At 11:58 23.06.2004, Uwe Schindler wrote: >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