We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The image has support for arm64, but Blackfire doesn't work on arm64.
arm64
The build for the Blackfire extension uses amd64 and ignores the target platform.
amd64
How to reproduce:
$ docker run -it --env PHP_BLACKFIRE=1 wodby/php:7.4 bash wodby@php.container:/var/www/html $ php -v [30-Jun-2022 07:32:03 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'blackfire.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so (Error relocating /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so: unsupported relocation type 7), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so.so: No such file or directory)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'blackfire.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so (Error relocating /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so: unsupported relocation type 7), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20190902/blackfire.so.so: No such file or directory)) in Unknown on line 0 PHP 7.4.30 (cli) (built: Jun 10 2022 00:35:32) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
The text was updated successfully, but these errors were encountered:
58f49af
@csandanov You did a small typo in your code. You added TARGETARCH, but used TARGETPLATFORM in 8/Dockerfile. Please, review
TARGETARCH
TARGETPLATFORM
8/Dockerfile
Sorry, something went wrong.
🤦🏻♂️ thanks!
There is still 1 TARGETPLATFORM left on Blackfire on line 269 😉
No branches or pull requests
The image has support for arm64, but Blackfire doesn't work on
arm64
.The build for the Blackfire extension uses
amd64
and ignores the target platform.How to reproduce:
The text was updated successfully, but these errors were encountered: