-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable pear/pecl by default for PHP 8 #1087
Comments
Related issue #846 |
Always appreciate folks from upstream joining our conversations ❤️ 🙏 However, now I'm confused -- we discussed this quite a bit back in #840 (comment) (with @petk 👋) and Is someone working on an official replacement? Is there a plan to keep/support that option indefinitely until there is such a thing? FWIW, it is included in the 7.4 images (just not in 8.0 because, as it notes when it's used, we understood it to be deprecated): php/7.4/buster/apache/Dockerfile Lines 225 to 227 in 3dc9a69
If the official recommendation is that it should still be included, why isn't the default (Is there perhaps an upstream mailing list thread or issue discussion we could read for follow-up discussion from https://externals.io/message/103977 / php/php-src#3781?) |
Great links, thanks @tianon! So there were talks of deprecating pear in 7.4 and removing it entirely in PHP 8.0. The deprecation seems to have happened, however, the removal of it from PHP 8.0 does not seem to have happened. The documentation on Migrating from PHP 7.4.x to PHP 8.0.x makes no mention of Pear being removed. It seems to me that the least disruptive thing for folks using the official Docker PHP images is for the I expect that if this is left as is without a clear community-led direction on how to install pecl packages, the official PHP Docker images are about to get a flood of issues asking how to install things like XDebug on the PHP 8.0-* Docker images. |
Hello, +1 for the unfortunate unremoved yet |
Fantastic, thanks for confirming this for us! 😅 There's a pull request to bring the |
I will also remind for alternatives: #1029 |
@michaljusiega Please don't push pickle as acceptable alternative yet. It is not finished, has no proper release, has plenty of issues, and is not adopted by the PHP project. |
You're right. |
Ahhh, makes sense, thank you for the additional detail! ❤️ |
Changes: - docker-library/php@cf3943e: Merge pull request docker-library/php#1088 from q0rban/1087-8.0-pear - docker-library/php@470ab97: Update put-shared link/badge - docker-library/php@03a9fae: Update templates. - docker-library/php@0fdd2f0: Configure PHP with pear/pecl installers for PHP 8.0 docker-library/php#1087 - docker-library/php@fa26844: Remove messages about pear being removed in PHP 8+.
Hi,
Unlike other reports, the pear/pecl tools are not deprecated in PHP. They're merely not being enabled by default. The
pecl
tool is the only official way to fetch and compile PHP extensions. Unless there is an official replacement, please continue building the default docker images with the--with-pear
flag.cheers,
Derick
PHP 7.4 Release Manager
The text was updated successfully, but these errors were encountered: