Skip to content

Drop --with-pear with PHP 8.6#1654

Open
TimWolla wants to merge 1 commit intodocker-library:masterfrom
TimWolla:drop-pecl-with-8.6
Open

Drop --with-pear with PHP 8.6#1654
TimWolla wants to merge 1 commit intodocker-library:masterfrom
TimWolla:drop-pecl-with-8.6

Conversation

@TimWolla
Copy link
Contributor

Even if we don't adopt PIE in the upstream PHP image (because #1554 (comment) “just works”), we should stop shipping the PECL binary with PHP 8.6.

see #1554

\
{{ if install_pear_pecl then ( -}}
# --enable-mbstring is included here because otherwise there's no way to get pecl to use it properly (see https://github.com/docker-library/php/issues/195)
--enable-mbstring \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The major justification to compile in mbstring was to support pecl installed packages that depend on it. Our line is to only include extensions that must be compiled into php itself versus what can be added after while following upstream recommendations. So, I agree with this change to drop mbstring in 8.6+.

If they still need it, users can add docker-php-ext-install mbstring in PHP 8.6 and above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants