Open NathanHealea opened 3 weeks ago
This just happened for me too after a system and lando update.
When trying to rebuild the container:
✔ Container purple_appserver_1 Started 1.7s
userperms 21:52:02.92 INFO ==> Symlinked users .gitconfig.
userperms 21:52:02.93 INFO ==> Symlinked users known_hosts
userperms 21:52:02.93 INFO ==> This is a debian container
userperms 21:52:02.93 INFO ==> user-perms.sh kicking off as user uid=0(root) gid=0(root) groups=0(root)
userperms 21:52:02.93 DEBUG ==> Lando ENVVARS set at
userperms 21:52:02.93 DEBUG ==>
userperms 21:52:02.93 DEBUG ==> ========================================
userperms 21:52:02.93 DEBUG ==> LANDO_WEBROOT_USER : www-data
userperms 21:52:02.93 DEBUG ==> LANDO_WEBROOT_GROUP : www-data
userperms 21:52:02.93 DEBUG ==> LANDO_WEBROOT_UID : 1000
userperms 21:52:02.93 DEBUG ==> LANDO_WEBROOT_GID : 1000
userperms 21:52:02.93 DEBUG ==> LANDO_HOST_UID : 1000
userperms 21:52:02.94 DEBUG ==> LANDO_HOST_GID : 1000
userperms 21:52:02.94 DEBUG ==> ========================================
userperms 21:52:02.94 DEBUG ==>
userperms 21:52:02.94 INFO ==> Making sure correct user:group (www-data:www-data) exists...
userperms 21:52:02.95 INFO ==> Remapping ownership to handle docker volume sharing...
userperms 21:52:02.95 INFO ==> Resetting www-data:www-data from 1000:1000 to 1000:1000
userperms 21:52:02.97 INFO ==> www-data:www-data is now running as uid=1000(www-data) gid=1000(www-data) groups=1000(www-data)!
userperms 21:52:02.97 INFO ==> And here. we. go.
userperms 21:52:02.97 INFO ==> Doing the permission sweep.
usage: /usr/local/bin/docker-php-ext-enable [options] module-name [module-name ...]
ie: /usr/local/bin/docker-php-ext-enable gd mysqli
/usr/local/bin/docker-php-ext-enable pdo pdo_mysql
/usr/local/bin/docker-php-ext-enable --ini-name 0-apc.ini apcu apc
Possible values for module-name:
apcu.so bcmath.so bz2.so calendar.so exif.so gd.so gettext.so imagick.so imap.so intl.so ldap.so mbstring.so memcached.so mysqli.so oauth.so opcache.so pcntl.so pdo.so pdo_mysql.so pdo_pgsql.so redis.so soap.so sodium.so xdebug.so zip.so
Some of the above modules are already compiled into PHP; please check
the output of "php -i" to see which modules are already loaded.
ERROR ==>
Seems like it is not installing the xdebug extension properly.
It's possible this is an issue with docker-compose
which is deprecated and removed in some OSes now and replaced with docker compose
(plugin). Everything else worked except the command that Lando runs internally to execute docker-php-ext-enable
I had to rerun lando setup
to install docker-compose v2.27.0
Fedora 40
Configuring xDebug in the
.lando.yml
file is not working.When viewing the
admin/reports/status/php
, xdebug does not show up.I've been following these walkthrough: https://docs.lando.dev/guides/lando-with-vscode.html
Here is
.lando.yml
file with sensitive information have been replaced with (...).Im not sure if the docs are wrong, as this walkthrough was working prior to updates at the beginning my June, 2024.