Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80276 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43600 invoked from network); 8 Jan 2015 12:08:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2015 12:08:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.198 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.198 relay6-d.mail.gandi.net Received: from [217.70.183.198] ([217.70.183.198:37540] helo=relay6-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/B3-21915-5437EA45 for ; Thu, 08 Jan 2015 07:08:37 -0500 Received: from mfilter11-d.gandi.net (mfilter11-d.gandi.net [217.70.178.131]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id DBC0DFB87F for ; Thu, 8 Jan 2015 13:08:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter11-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter11-d.gandi.net (mfilter11-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 5XqV8IxPdHTJ for ; Thu, 8 Jan 2015 13:08:32 +0100 (CET) X-Originating-IP: 82.241.130.121 Received: from schrodingerscat.famillecollet.com (pom51-2-82-241-130-121.fbx.proxad.net [82.241.130.121]) (Authenticated sender: contact@ll-experts.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 8192CFB87D for ; Thu, 8 Jan 2015 13:08:32 +0100 (CET) Message-ID: <54AE7340.6080708@fedoraproject.org> Date: Thu, 08 Jan 2015 13:08:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Extension Prepend Files From: remi@fedoraproject.org (Remi Collet) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 04/01/2015 12:52, Benjamin Eberlei a =C3=A9crit : > https://wiki.php.net/rfc/extension_prepend_files Sorry but definitively seems a bad idea. If you want a pure-php library, provide as one. If this library need an extension, just describe this in the metadata (pecl, composer, ...) Ex: - - twig extension (of the C extension is optional in this case) - - xhprof (or its fork) Having a "huge" piece of code included in "each" request will be a nightmare. Yes, PHP library can be managed per host/dir/app/whatever While extension are enable for all the SAPI. Seems you are trying to solve a "downstream" issue, not a PHP one. Remi. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlSuc0AACgkQYUppBSnxahiKxQCgpTnfu8Jpjz3nauIRCZGZHvi9 asAAniYb0b8m7Sn9I5MVooxssD5a2oS1 =3DdkkN -----END PGP SIGNATURE-----