Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2107 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34984 invoked from network); 31 May 2003 10:41:19 -0000 Received: from unknown (HELO mailout07.sul.t-online.com) (194.25.134.83) by pb1.pair.com with SMTP; 31 May 2003 10:41:19 -0000 Received: from fwd11.sul.t-online.de by mailout07.sul.t-online.com with smtp id 19M3nJ-0007d4-00; Sat, 31 May 2003 12:41:01 +0200 Received: from vega.thetaphi.de (320003461825-0001@[80.132.120.226]) by fmrl11.sul.t-online.com with esmtp id 19M3n8-10AQXAC; Sat, 31 May 2003 12:40:50 +0200 Message-ID: <5.2.0.9.0.20030531124001.02afdf90@pop3.web.de> X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sat, 31 May 2003 12:40:48 +0200 To: marcus.boerger@post.rwth-aachen.de Cc: internals@lists.php.net In-Reply-To: <5.1.0.14.2.20030531122735.0388ae88@pop.t-online.de> References: <5.2.0.9.0.20030531011141.02af1838@pop3.web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 320003461825-0001@t-dialin.net Subject: Re: [PHP-DEV] OnXXXXX handlers not called in ZTS environment From: uwe@thetaphi.de (Uwe Schindler) Its the same in the other way without PHP_INI_SYSTEM. They get changed. Only the handler is not called. At 12:32 31.05.2003 +0200, you wrote: >At 01:18 31.05.2003, Uwe Schindler wrote: >>When changing a ini entry with zend_alter_ini_entry during runtime the >>Callback routines OnUpdateXXXX are never called. This problem only exists >>in multithreaded environments. >>I think that the handler field in the entry is not copied when creating >>the copy of the ini entries after creating a new thread ressource: > >The zend_hash_copy() function copies the all the information so the >problem should be elsewhere. >[...] >>I am not very familar with the Zend engine so I do not know how to >>implement this, but the following command does not ever call the OnUpdate >>handler: >>zend_alter_ini_entry(....., PHP_INI_SYSTEM, PHP_INI_STAGE_RUNTIME) > > >And here we go: PHP_INI_SYSTEM values cannot be set at runtime, that's >their sense. > >regards >marcus ----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http:///www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!