Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3898 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36976 invoked from network); 14 Aug 2003 07:09:49 -0000 Received: from unknown (HELO mailout08.sul.t-online.com) (194.25.134.20) by pb1.pair.com with SMTP; 14 Aug 2003 07:09:49 -0000 Received: from fwd00.aul.t-online.de by mailout08.sul.t-online.com with smtp id 19nCF2-0008C0-03; Thu, 14 Aug 2003 09:09:48 +0200 Received: from thetaphi.de (EY2eAiZCweGw1RsTxyJoE-so+sHb3I6gWcb7xuV5Z+YfTZgO4OG1sP@[80.132.125.149]) by fmrl00.sul.t-online.com with esmtp id 19nCEy-234WFE0; Thu, 14 Aug 2003 09:09:44 +0200 Date: Thu, 14 Aug 2003 09:09:49 +0200 Content-Type: multipart/alternative; boundary=Apple-Mail-17-933411367 Mime-Version: 1.0 (Apple Message framework v552) Cc: internals@lists.php.net To: Mark Morley In-Reply-To: Message-ID: <4B625296-CE26-11D7-B5C2-000A9586D5EE@thetaphi.de> X-Mailer: Apple Mail (2.552) X-Seen: false X-ID: EY2eAiZCweGw1RsTxyJoE-so+sHb3I6gWcb7xuV5Z+YfTZgO4OG1sP@t-dialin.net Subject: Re: [PHP-DEV] Setting PHP module values in C From: uwe@thetaphi.de (Uwe Schindler) References: --Apple-Mail-17-933411367 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Am Donnerstag, 14.08.03 um 07:14 Uhr schrieb Mark Morley: > I'm writing an Apache module and I'd like to be able to dynamically > change some of > PHP's settings from within this module. > > Mainly I need to be able to change the current open_basedir value, > although there > are others as well. zend_alter_ini_entry("open_basedir", sizeof("open_basedir"), newvalue, strlen(newvalue), PHP_INI_USER, PHP_INI_STAGE_RUNTIME) > Is there a function call or code sequence that will let me change > values like this? > > Mark --Apple-Mail-17-933411367--