Repository navigation
Update PHP versions for 2026-10; build imagick, memcached and yaml from git on 8.6 - #15
Merged
Merged
Conversation
…om git on 8.6
Refresh the Latest Version numbers in the README to match what
Alpine edge currently ships:
- 8.6: 8.6.0beta2 -> 8.6.0rc2
- 8.5: 8.5.10 -> 8.5.11
- 8.4: 8.4.25 -> 8.4.26
- 8.3: 8.3.33 -> 8.3.35
PECL entries in config/php-*.yml accept new optional keys:
- source: {repository, reference} builds the extension from a git
repository instead of the pecl.php.net release
- buildPackages / packages: build-only and runtime packages that
belong to a single extension
- enable: False compiles the extension but does not create its .ini
PHP 8.6: Alpine has no package for imagick, memcached and yaml, and
their latest PECL releases do not compile on 8.6, so they are built
from a pinned upstream commit until Alpine publishes them. imagick is
compiled but not enabled, since the ImageMagick runtime is not shipped;
docs/dockerfile.md explains how to turn it on.
PHP 8.2-8.6: remove pecl-mcrypt (deprecated since PHP 7.1). It was
still enabled on 8.2 and 8.3. Replace the commented opcache and imagick
lines with comments saying opcache is built into PHP since 8.5 and
imagick is installed on demand.
Docs and landing page updated to match.
byjg
force-pushed
the
work/loving-ramanujan-clo5nr
branch
from
October 5, 2026 14:10
17d59fc to
1c4387b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Monthly PHP version check, plus a way to build PECL extensions from git so PHP 8.6 gets the extensions Alpine has not packaged yet.
Version refresh
No branch added or removed: PHP 8.7 is not in Alpine
edgeoredge/testingyet, and 8.2 stays out of the build matrix.New optional keys on
pecl:entriesThe top-level
peclBuildPackages/additionalPackagesremain for generic packages. Configs that do not use the new keys generate the same Dockerfile as before.PHP 8.6
Alpine has no
php86-pecl-imagick,php86-pecl-memcachedorphp86-pecl-yaml, and the latest PECL releases of all three fail to compile on 8.6 (XtOffsetOf/zval_dtorwere removed). They are now built from a pinned upstream commit. This is temporary: each entry is replaced by the Alpine package once it is published.apk add --no-cache imagemagickandecho "extension=imagick.so" > /etc/php86/conf.d/imagick.ini(documented indocs/dockerfile.md).Known differences on 8.6:
imagick 3.8.1,memcached 3.4.0,yaml 2.3.0), because upstream has not bumped it.Config cleanup (8.2–8.6)
apk add phpXX-pecl-imagick).Docs
docs/building.md(new keys),docs/dockerfile.md(imagick on 8.6, simpler imagick example for 8.3),docs/security.md,docs/image-base.md,README.mdand the landing page (imagickandmcrypttiles removed).Test plan
phpXX-pecl-mcrypt.imagick.sois present, build packages and clone directories are gone.php -mdiffers from the published image only bymcrypt;apk add php83-pecl-imagickloads imagick.