Repository navigation
Make extension installs reliable and add new extensions on PHP 8.2+ - #411
Merged
Merged
Conversation
PHP provides WeakReference natively since 7.4 and no image installs it anymore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… PHP 8.2+ All of them are installed from the Ondřej PPA packages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Extension install failures were silently ignored during the build, which hid several broken extensions. This PR makes
the build fail on any install error, fixes the extensions that were broken, and adds new extensions available in the
Ondrej PPA.
Build reliability
failed extensions.
php-common(e.g.ffiandgettexton PHP 8.5).Extension fixes
mysqlnd, which swoole requires.php -mdisplaysFFIin uppercase).New extensions (PHP 8.2+)
All installed from the Ondřej PPA packages (no compilation):
decimal: arbitrary precision decimal arithmeticgnupg: GnuPG bindingsinotify: filesystem eventslz4/zstd: fast compressionmcrypt: legacy applications only (deprecated)odbc/pdo_odbc: generic ODBC accessCleanup
weakrefextension (PHP providesWeakReferencenatively since 7.4).Tests & docs
uname -p.rdkafkawas missing).Test plan
install.shon PHP 8.2, 8.3, 8.4 and 8.5: loads inphp -mwith no output on stderrtest_presenceOfPhp82ExtensionsOnFatpasses on an image with the extensions, is skipped on 8.1, fails on an image without them