XDEBUG 3 complains about xdebug.remote_autostart = 1 in /usr/local/etc/php/conf.d/xxx-lando-default.ini
Open
Nobody has claimed this yet.
bug
- Dominant language
- Dockerfile
- Stars
- 20
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
When I run a current PHP Version in lando (eg 8.1) Xdebug (>=3) complains about config which is only compatible with XDEBUG2.
So every command which uses PHP like lando php -v results in a message like
$ lando php -v
Xdebug: [Config] The setting 'xdebug.remote_autostart' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_autostart (See: https://xdebug.org/docs/errors#CFG-C-CHANGED)
PHP 8.1.18 (cli) (built: May 3 2023 05:11:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.18, Copyright (c) Zend Technologies
with Zend OPcache v8.1.18, Copyright (c), by Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the Lando PHP plugin generates /usr/local/etc/php/conf.d/xxx-lando-default.ini, using the reported lando php -v command as the reproduction. Check the Xdebug upgrade guidance referenced in the issue and verify that the warning is absent with PHP 8.1 and Xdebug 3 while PHP commands still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100