Closed chauve-dev closed 2 years ago
Also i should add that the platform.sh config works on platform.
And i can solve the problem by switching php 8.1 to 8.0 but newrelics doesn't work in neither of those versions
Solved with ticket #163 the bug occur because lando use latest version of the platform docker instead of the stable one, you can solve it by setting it in your lando.yml
name: appname
recipe: platformsh
proxy:
mailhog:
- mail.lndo.site
config:
composer_version: 2-latest
services:
mailhog:
type: mailhog
hogfrom:
- appname
appname:
overrides:
image: docker.registry.platform.sh/php-8.1:stable
We currently use lando with platform.sh.
When we create a new project with php8.1 (php8.0 also affected) at startup it start to dump errors (the errors create files in the web root)
The errors :
PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /usr/lib/php/20210902-zts/xdebug.so (/usr/lib/php/20210902-zts/xdebug.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902-zts/xdebug.so.so (/usr/lib/php/20210902-zts/xdebug.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
if i do a lando ssh i can see that the xdebug.so is really missing
If i do the same conf but in php7.4 everything works with xdebug too.
this bug seem to happen with newrelic extension too
here's the config : .platform.app.yaml :
.lando.yml
Lando version 3.6.4 Platform.sh CLI 3.79.8