Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9960 invoked from network); 28 Jul 2012 06:34:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jul 2012 06:34:27 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:55243] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/53-23870-2F783105 for ; Sat, 28 Jul 2012 02:34:26 -0400 Received: by pbbrp12 with SMTP id rp12so6850067pbb.29 for ; Fri, 27 Jul 2012 23:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XJYlvlk3tm0ShOnlIY043orNyHnvSNm5QNKSElxpRn0=; b=z0p0lgmyfCMXL6JDJCU/mLGb0P+R1Dx7SPL16ZtjJAQqHq76CuOjbNVLhyKW28Ai9V t1hzIdf+iqoYo5glnUDQIMhI6LbRhvTPxvBhvPeY5WSTM/dkc8zafFHaVdMBRJKWimHc R3XVdXtOSKfHVf4lxGP9aFWDUCEuVfof6mKND0vBUarQqrarO6RBPbMrpG4eEHHHSYvN Bt5wH0Wnf3SEl5faIT9PjMto/hmDDj9ljGknRZxOs50BuRiGzb+uIZOGlVrq2mr75gsR 8WezZUhfF8BfH/PBbru7jlJypVoTsUMEEJ58oKV3QfJVOzMzY9Z9Rqf+RP17c9tsa05A 7pPg== MIME-Version: 1.0 Received: by 10.68.132.165 with SMTP id ov5mr2753743pbb.25.1343457263680; Fri, 27 Jul 2012 23:34:23 -0700 (PDT) Received: by 10.68.5.2 with HTTP; Fri, 27 Jul 2012 23:34:23 -0700 (PDT) In-Reply-To: <1343456797-sup-5145@ezyang> References: <1343429825-12031-1-git-send-email-ezyang@mit.edu> <1343456797-sup-5145@ezyang> Date: Sat, 28 Jul 2012 08:34:23 +0200 Message-ID: To: "Edward Z. Yang" Cc: internals , rasmus Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PATCH] Enable extension loading from .user.ini when run as CGI. From: pierre.php@gmail.com (Pierre Joye) On Sat, Jul 28, 2012 at 8:27 AM, Edward Z. Yang wrote: > Excerpts from Pierre Joye's message of Sat Jul 28 02:20:51 -0400 2012: >> > Functionality is not included for other SAPIs because they either do not >> > support .user.ini (e.g. CLI) or they serve multiple requests and thus >> > do not support dl() (e.g. FastCGI). >> >> dl has been disabled in FastCGI and other web SAPIs for a reason, it >> is not working well and brings php to instability. I do not think >> adding this to .user.ini will be any better. > > It has been a while, but last winter we discussed this patch and decided > that extension loading was OK for short-lived PHP processes, e.g. CGI. > So this patch only enables it for CGI. Oh, I miss the CGI only part. It makes sense then, while I am not over warm about the idea tho' :-). >> Can you create a patch only for this bug fix please? Ideally a bug >> report + patch or pull request :-) > > Sure, I can split in two. Does PHP use pull requests? Yes, via github's php mirror, see https://wiki.php.net/vcs/gitworkflow Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org