You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Some older php versions supported by Lando still use Xdebug 2 for compatibility reasons. Currently, Lando shares this single config file across the two versions of Xdebug. Simply removing the older config will fix this warning, but will also break Xdebug in older PHP versions. This could be changed so that there are two possible config files and Lando could choose the correct one based on the version of PHP. An example of this type of behavior can be found in the Lando Drupal plugin where there is a separate config for MySQL 8.
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
The text was updated successfully, but these errors were encountered: