Repository navigation
v4: add the imagick extension (without PDF) - #374
Merged
Merged
Conversation
# Conflicts: # tests/test_2_extensions.php # tests/test_3_manual_enabling_extensions.php # tests/test_3_manual_extensions.ini
# Conflicts: # Dockerfile # tests/test_2_extensions.php # tests/test_3_manual_enabling_extensions.php # tests/test_3_manual_extensions.ini
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.
imagickas a shared extension, likegd,gmp,soap: installed but not loaded, enabled withextension=imagickinphp/conf.d/*.ini.libmagickwand-7.q16-10): PNG, JPEG, GIF, WebP, TIFF, plus AVIF (read/write) and HEIC (read) through the libheif plugins. Security fixes come from Ubuntu at each image rebuild, nothing to pin on our side.The runtime image grows by 39 MB (250 → 289 MB uncompressed, PHP 8.5 arm64): 31 packages, mostly image codecs, X11 and fontconfig libraries.
Users who do not enable imagick load none of these libraries:
phpmaps the same 47 shared libraries with and without them. On Lambda (PHP 8.5, arm64, container image, hello world with PHP-FPM, 30 + 30 cold starts), no measurable difference: total cold start p50 149 ms without this PR vs 148 ms with it on Graviton3 (95% CI of the difference: -8.7 to +17.1 ms), 152 vs 159 ms across all CPUs (CI -27 to +39 ms).