Re: disabling dead pecl extensions from pecl install
| From: | Greg Beaver | Date: | Sat, 04 Apr 2009 15:45:04 +0000 |
| Subject: | Re: disabling dead pecl extensions from pecl install | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6289@lists.php.net to get a copy of this message | ||
Philip Olson wrote:
> Hello all,
>
> There are pecl extensions that people should not install, like filter
> and sqlite, so how might we disable them from installing via the pecl
> command? I don't think a note on the webpage is enough.
>
> Or in the very least add a clear message here that also refers to the
> alternative. And whether this takes into account the local PHP version I
> don't know. A simple version of the idea:
>
> $ pecl install filter
> Failed: This deprecated PECL extension should not be used
> Alternative: php-src/filter
> Reason: Moved to core
>
> Maybe allow:
> $ pecl install filter --force-i-really-really-mean-it
Hi,
if people shouldn't install it, then remove the package. Otherwise, why
have it?
Alternately, set the maximum PHP version in the php dependency, and the
installer will refuse to install it for newer PHP versions.
Greg