Re: [RFC] Extension Prepend Files
| From: | Remi Collet | Date: | Thu, 08 Jan 2015 12:08:32 +0000 |
| Subject: | Re: [RFC] Extension Prepend Files | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80276@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 04/01/2015 12:52, Benjamin Eberlei a écrit :
> 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
=dkkN
-----END PGP SIGNATURE-----