Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56144 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16027 invoked from network); 8 Nov 2011 08:40:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2011 08:40:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.210.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:34229] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/60-13826-5FAE8BE4 for ; Tue, 08 Nov 2011 03:40:22 -0500 Received: by iakc1 with SMTP id c1so352821iak.29 for ; Tue, 08 Nov 2011 00:40:19 -0800 (PST) Received: by 10.42.161.69 with SMTP id s5mr51058237icx.23.1320741619186; Tue, 08 Nov 2011 00:40:19 -0800 (PST) Received: from [192.168.200.5] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id z10sm1239002ibv.9.2011.11.08.00.40.17 (version=SSLv3 cipher=OTHER); Tue, 08 Nov 2011 00:40:18 -0800 (PST) Message-ID: <4EB8EAF1.3040104@lerdorf.com> Date: Tue, 08 Nov 2011 00:40:17 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: "Edward Z. Yang" CC: internals References: <1320740449-sup-5688@ezyang> In-Reply-To: <1320740449-sup-5688@ezyang> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Load extensions for .user.ini files From: rasmus@lerdorf.com (Rasmus Lerdorf) On 11/08/2011 12:23 AM, Edward Z. Yang wrote: > Hello all, > > My team is interested in permitting .user.ini files to load > extensions. We believe this to be a simple fix: add > an invocation of php_ini_register_extensions to the end > of sapi/cgi/cgi-main.c. > > I don't believe this steps on any invariants, since extensions > can usually be loaded arbitrarily late. > > Let me know what the list thinks. I can submit a patch and tests > if y'all decide it's a good idea. You are aware that these extensions can't be unloaded, right? So one user loading an extension will potentially be stepping on another user and breaking their code. -Rasmus