Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92915 invoked by uid 1010); 27 Jun 2005 17:00:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92899 invoked from network); 27 Jun 2005 17:00:30 -0000 Received: from unknown (HELO php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2005 17:00:30 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:4583] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 1A/24-00424-DA030C24 for ; Mon, 27 Jun 2005 13:00:29 -0400 Received: from localhost ([127.0.0.1] helo=lighthammer) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1DmwRM-0003LV-00 for internals@lists.php.net; Mon, 27 Jun 2005 09:26:33 -0700 Message-ID: <006001c57b39$b596fa10$88ec1a44@lighthammer> To: References: <42BDDC82.6020208@ohgaki.net> Date: Mon, 27 Jun 2005 09:59:53 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-2022-JP"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: allow_url_fopen should be INI_ALL From: pollita@php.net ("Sara Golemon") > It has been INI_ALL for a looong time until somebody decided to set it > to INI_SYSTEM. > Actually it was "--enable-url-fopen" for a loooooong time until it became runtime configurable. It was *mistakenly* set to PHP_INI_ALL, but was supposed to have been PHP_INI_SYSTEM. (In line with prior behavior) As I posted earlier, url_fopens *can* already been temporarily disabled and reenabled using stream_wrapper_unregister() and stream_wrapper_restore(). There's no need to make the .ini setting magic by making it disablable one-way. However, as Derick pointed out php_admin_flag can be used to override the changability and keep it a system-wide setting on a site specific basis, so while there's absolutely no reason to make it PHP_INI_ALL, I can possibly buy into it providing the change happens in HEAD and nowhere else. There's no reason to break this setting in a stable branch, especially one as old as 4.3/4. -Sara P.S. - This was discussed at the time the change was reverted back to PHP_INI_SYSTEM.