Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93197 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79105 invoked from network); 11 May 2016 04:59:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2016 04:59:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.161.173 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.161.173 mail-yw0-f173.google.com Received: from [209.85.161.173] ([209.85.161.173:35140] helo=mail-yw0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/43-64493-C1CB2375 for ; Wed, 11 May 2016 00:59:08 -0400 Received: by mail-yw0-f173.google.com with SMTP id g133so32494918ywb.2 for ; Tue, 10 May 2016 21:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=A1k8n+MRRUshPvSyJf7nkmE4yN1h45uKtXyOufzapk8=; b=izqxsJAYap1nCWsjAFl382oSb+0WPf3MUPPB9r7GJ7hL6rRecz3lndsagQXi8ZuxZ6 sxKRtOMAwdYZ1yy88wb93kU80uqBQnyhisTflPFEkg8gSEZpykv5sQUh37QMVst66jx+ 8pAH+OrhRsQyABegtW13OmvXLKq/L+p7bT/waB4H44iyZeWgYImtiAx8xQqfAZ7AnX7e UB8v8o+uP0l8HX4xg/UW8OIyzMcb8Ii0Mdk65JN1MF6Sl5c38xbq6Xgdpc8jMBgVHS+y T6EtyxJ+4EKc88w5rdcSldcxsofsJOOY+Ui5nDbCrYca7+pxgeJ+ZZ2QOYJApQYEFp6p wNAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=A1k8n+MRRUshPvSyJf7nkmE4yN1h45uKtXyOufzapk8=; b=Mem3L41J36h3teJGw+Dp74v8OpdO76XEqatFHnTkW4KOq0oBhcQ+vvcvyGdzuIV7NX iX5TnM+jDf4ZVjYfGjW97YW52zLFv6jImDI9QBmAIY62zJ5FpL4wAyAu5bZnvgBV84h5 jlwO34dFe9CLkO9+VAACvAAngPJfImaU2pdh06kGcvUhjSMr0W3bBlE1xMEuRqg64LXr /ghVGqoiZ0EHZeA/PEXomVkBg0pLgiuRlNSQfsQfW8Y4s7d901ZuXyO59yVw2+Fd1T44 KCD5II8pmq0Cy7JyfBo1sVDbbd0Eq3uMhLMxUBG7p1nRjixxcGHiQF3RJr4TeUBdegEJ lfOQ== X-Gm-Message-State: AOPr4FVARiED9H0VyTmGVLwAY+O2QYyK1b0f0ARu57IwMFOF00mc3G6x133zUO+cYnlAFe0bewYOS9dv3xES+A== MIME-Version: 1.0 X-Received: by 10.13.225.149 with SMTP id k143mr510712ywe.256.1462942744826; Tue, 10 May 2016 21:59:04 -0700 (PDT) Received: by 10.129.109.67 with HTTP; Tue, 10 May 2016 21:59:04 -0700 (PDT) X-Originating-IP: [165.120.173.102] In-Reply-To: <1ce20005-706c-52d0-a0f3-67cecdb3e9b8@php.net> References: <59e5902d-004f-33b5-5d6f-991d89371e05@php.net> <2461b452-f595-6fa9-4e33-9e163f79d162@fleshgrinder.com> <57322FFC.1040109@lsces.co.uk> <8d5a0962-021b-cd38-1946-47d1bad24af0@fleshgrinder.com> <57323F8E.1080800@lsces.co.uk> <1ce20005-706c-52d0-a0f3-67cecdb3e9b8@php.net> Date: Wed, 11 May 2016 05:59:04 +0100 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: Lester Caine , PHP internals Content-Type: multipart/alternative; boundary=94eb2c0775bca229eb053289e673 Subject: Re: [PHP-DEV] [RFC] Allow loading extensions by name From: pthreads@pthreads.org (Joe Watkins) --94eb2c0775bca229eb053289e673 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Morning, > In this case, it is currently impossible to write a single configuration file that will work in both environments, forcing developers to manually maintain two separate versions of the file. I'm aware this has been mentioned in this thread, and I've read the open issue disclaimer. The RFC does not solve the problem it is trying to solve. It's still going to be impossible to have a single configuration file. The only win seems to be when using php from the command line, or in documentation. Since the mechanism for loading extensions has been the same for so long, and since that knowledge is well dispersed among those who require it, I'm not really seeing the point in changing anything. The idea that we could one day have a configuration file for both platforms seems like a pipe dream, so this can't really be considered a "step closer" to that; It's never going to happen. Cheers Joe On Tue, May 10, 2016 at 11:27 PM, Fran=C3=A7ois Laupretre wrote: > Hi, > > > Le 10/05/2016 =C3=A0 22:07, Lester Caine a =C3=A9crit : > >> Windows did not worry about which extension was used >> in the past, but nowadays the problem is ensuring the correct build of >> extension is accessed and while 32bit is still the safer base, it's all >> too easy to get them mixed up with 64bit builds. All of MY recent >> windows installs have had to be 32bit so this creates a conflict with >> PHP7's assumption that modern target will be 64bit ;) TODAY the windows >> php.ini needs to be managed to ensure that the correct paths are used to >> the correct build, and personally I'd rather not 'simplify' something >> which has a much bigger impact - and adding a build identifier to the >> file name may be a better fix than trying to rely on the path to ensure >> the correct build is accessed. >> > > Right. We could include a build ID in file names. And adapt the way we > compute file names from extension names. But I don't see how this concern > conflicts with the RFC. > > Regards > > Fran=C3=A7ois > > --- > L'absence de virus dans ce courrier =C3=A9lectronique a =C3=A9t=C3=A9 v= =C3=A9rifi=C3=A9e par le > logiciel antivirus Avast. > https://www.avast.com/antivirus > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --94eb2c0775bca229eb053289e673--