-
-
Notifications
You must be signed in to change notification settings - Fork 4
Xdebug extension binary missing on php 8.1 #178
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When configuring a platformsh recipe for project with php:8.1 runtime to have xdebug enabled -
The xdebug.ini file is being loaded, but the extension binary (xdebug.so) is missing
❯ lando php -v
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
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
PHP 8.1.0 (cli) ( ZTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
with Zend OPcache v8.1.0, Copyright (c), by Zend Technologies
I used configuration override in my .lando.yml file:
name: 1111-some-project
recipe: platformsh
config:
id: 111122223333444
overrides:
app:
runtime:
extensions:
- xdebugWhen I run the same thing with php:7.4 application runtime - everything works as expected
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working