Closed thomasdiluccio closed 2 years ago
Drupal 8 on PHP 7.4
Creating platformshdrupal8_app_1 ... done
Installing Blackfire Probe for PHP
2021-09-29 20:06:29 URL:https://packages.blackfire.io/binaries/blackfire-php/1.67.0/blackfire-php-linux_amd64-php-74.tar.gz [132344/132344] -> "74" [1]
PHP Warning: PHP Startup: Unable to load dynamic library 'blackfire.so' (tried: /usr/lib/php/20190902-zts/blackfire.so (/usr/lib/php/20190902-zts/blackfire.so: undefined symbol: compiler_globals), /usr/lib/php/20190902-zts/blackfire.so.so (/usr/lib/php/20190902-zts/blackfire.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Activating the Blackfire Probe for PHP.
PHP Warning: PHP Startup: Unable to load dynamic library 'blackfire.so' (tried: /usr/lib/php/20190902-zts/blackfire.so (/usr/lib/php/20190902-zts/blackfire.so: undefined symbol: compiler_globals), /usr/lib/php/20190902-zts/blackfire.so.so (/usr/lib/php/20190902-zts/blackfire.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
/helpers/install-blackfire-probe.sh: line 16: /etc/php/7.4-zts/cli/conf.d/blackfire.ini: No such file or directory
ERROR ==> /helpers/install-blackfire-probe.sh: line 16: /etc/php/7.4-zts/cli/conf.d/blackfire.ini: No such file or directory
Blackfire extension already included:
type: 'php:7.4'
runtime:
# Enable the redis extension so Drupal can communicate with the Redis cache.
extensions:
- redis
- blackfire
- opcache
The first warning is expected, as the platformsh
recipe doesn't install the blackfire
extension but it expects it to be present. This is probably an issue to be posted on Lando.
Regarding the 2nd one, it looks like a bug in the plugin. I will have a look 👀
This project is based on a Platform's environment initialized from the Laravel template.
Running
lando rebuild
on this configuration will fail with the error:Using PHP8 and adding
blackfire
to the runtime extensions in the.platform.app.yml
file seems to fix the problem..lando.yml
.platform.app.yml