composer: ERROR: Package is not installed: ext-xdebug-2.4.0.0
composer install throw exception
composer install
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 59 installs, 0 updates, 1 removal
[InvalidArgumentException]
Package is not installed: ext-xdebug-2.4.0.0
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
php version
php --version
PHP 5.6.22 (cli) (built: Jun 18 2016 16:47:14)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
composer version
composer --version
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Composer version 1.3.0 2016-12-24 00:47:03
if i use the previous stable version 1.2.4 of composer the install command works just fine
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 24 (13 by maintainers)
Commits related to this issue
- Clear xdebug version if restart fails, fixes #5995 — committed to johnstevenson/composer by johnstevenson 8 years ago
- Avoid loading xdebug platform package twice, fixes #5995 — committed to composer/composer by Seldaek 8 years ago
- Merge remote-tracking branch 'johnstevenson/xdebug-#5995' into 1.3 — committed to composer/composer by Seldaek 8 years ago
- Ignore xdebug.ini and process all files, #5995 — committed to johnstevenson/composer by johnstevenson 8 years ago
- Ignore xdebug.ini and process all files, #5995 — committed to johnstevenson/composer by johnstevenson 8 years ago
- Merge pull request #6015 from johnstevenson/xdebug-ini Ignore xdebug.ini and process all files, #5995 — committed to composer/composer by Seldaek 8 years ago
1.3.1 which I should release soon I guess as we’ve had a few important fixes already.
1.3.1 is out btw 😃
Should be fixed in latest snapshot (
composer self-update --snapshot
) but it’d be good if you can answer @johnstevenson 's questions about your environment so we can make sure the xdebug disabling works everywhere.