Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91007 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92312 invoked from network); 29 Jan 2016 07:09:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2016 07:09:22 -0000 Authentication-Results: pb1.pair.com header.from=martin.keckeis1@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=martin.keckeis1@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.175 as permitted sender) X-PHP-List-Original-Sender: martin.keckeis1@gmail.com X-Host-Fingerprint: 209.85.217.175 mail-lb0-f175.google.com Received: from [209.85.217.175] ([209.85.217.175:34569] helo=mail-lb0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/20-24533-1201BA65 for ; Fri, 29 Jan 2016 02:09:21 -0500 Received: by mail-lb0-f175.google.com with SMTP id cl12so36092668lbc.1 for ; Thu, 28 Jan 2016 23:09:21 -0800 (PST) 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=Uoza3+stbIcRXCTvA+J6v3BtkQkL+bkxHIN48K+gxSY=; b=T+2A4J5ntVHF8d6boi5FNmE37OIV8HQVV6hnNq1ceMxdX4pc7aVZgUjd6y1J+UcZBO U3GLcfXZhxMw0szZZ2VcSoVofVXKT1tDJSn51OJlJfAbOY9hXDWVVBC++9a2fTClyBiJ aCW12Yn/kXMK767FiXosuS+TOJYj2q77j8QmUUdbOT5rdlv9SKKlIDsWrmUUCDBj5/uC HJS7UPgGLDV6RiCd4HhhQIlnpgdhjr8FX7sCef5k6jHtjizw7K3u8Xb7oyqF7FeHKn+u hP/sdrsfzFqIT2GRODCHWVKO8uz2VNIwsuS7Wz5KycEizDRpcEqdVB35k6l++DqNItrH UIMA== 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:content-type; bh=Uoza3+stbIcRXCTvA+J6v3BtkQkL+bkxHIN48K+gxSY=; b=dmC9brJCVROGg0nrmrWvpjryIWBDehWczJ85CH8mvMwTRHm+j0a+fl0NFAMsCDckcw Hz1+zERyblT2xzYHWEBPWrZvHB4k04Bx1t94tEd/wzybb2+CMyU3ZmTxP/3Q3B3MQ5sv Iznrq4OkYlu7NuX+j9OqfGXZYhl6OQFp+NjGhfWFUZrwCLgIGpCist15VzS2TEn26hBr 4izRrXIBxm0nOFUOv3A8I9nGo4lLT9olRo/O5rVmuXPaD9rDiD4uB1txTBAv6P500IDX ngfVb+j1ygQ465a9vS0UIZSNN901yhLT2pJLRrKJ2hQoqCT7SFZ2wY57cOe3+aUI3n7V /l/A== X-Gm-Message-State: AG10YORi+ylsEOpgCm+t7wr/ZrzcVjAPsQzMAZijEFFIlJteO0N9gWCwoTft/W/TmovzXAF3WtzlAsN7tQSw5w== MIME-Version: 1.0 X-Received: by 10.112.35.162 with SMTP id i2mr2597833lbj.107.1454051357620; Thu, 28 Jan 2016 23:09:17 -0800 (PST) Received: by 10.25.91.5 with HTTP; Thu, 28 Jan 2016 23:09:17 -0800 (PST) In-Reply-To: <56AA7824.1090909@php.net> References: <56AA7824.1090909@php.net> Date: Fri, 29 Jan 2016 08:09:17 +0100 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: Internals Content-Type: multipart/alternative; boundary=001a11c36b66a80437052a73b649 Subject: Re: [PHP-DEV] Allow loading extensions by name From: martin.keckeis1@gmail.com (Martin Keckeis) --001a11c36b66a80437052a73b649 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, 2016-01-28 21:20 GMT+01:00 Fran=C3=A7ois Laupretre : > Hi, > > Can you please give your thoughts about a PR I just created : > > https://github.com/php/php-src/pull/1741 > > Loading extensions by name (instead of file name) provides a portable way > of specifying extensions in an INI file. Example : > > extension=3Dbz2 > zend_extension=3Dxdebug > > This will be converted to the right file name, depending on the platform. > Of course, current configurations using filenames remain supported (no BC > break), but the recommended way of specifying additional extensions in an > INI file becomes 'by name' (See example php.ini files). > > If I get positive returns, I'll write an RFC targeting 7.1. > > Regards > > Fran=C3=A7ois > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > i generally like it. Small improvement and optional. In your PR you wrote > A typical example is the coexistence of a Windows development environment and a Linux production. In such cases, it is impossible to write a single configuration file that will work in both environments, forcing developers to manually maintain two separate versions of the file. That will also not work (in some cases) with this change either. Some other settings can also be OS dependent - error_log - mail.log, SMTP, sendmail_path - some session settings - some path settings -... I think 100% portability will not be achieved very soon But regardless of that +1 from a PHP user Best regards Martin --001a11c36b66a80437052a73b649--