Can't install on PHP 8.0.3
lozitskiys opened this issue · 1 comments
lozitskiys commented
What steps will reproduce the problem?
Run command:
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
What's expected?
Project installed
What do you get instead?
Problem 1
- codeception/verify 1.1.0 requires phpunit/phpunit > 6.0 -> satisfiable by phpunit/phpunit[6.0.1, ..., 6.5.14, 7.0.0, ..., 7.5.20, 8.0.0, ..., 8.5.15, 9.0.0, ..., 9.5.3].
- codeception/verify 0.5.0 requires php 5.6.* -> your php version (8.0.3) does not satisfy that requirement.
- phpunit/phpunit[7.0.0, ..., 7.5.20] require php ^7.1 -> your php version (8.0.3) does not satisfy that requirement.
- phpunit/phpunit[6.0.1, ..., 6.5.14] require php ^7.0 -> your php version (8.0.3) does not satisfy that requirement.
- phpunit/phpunit[8.0.0, ..., 8.5.11] require php ^7.2 -> your php version (8.0.3) does not satisfy that requirement.
- phpunit/phpunit[8.5.12, ..., 8.5.15, 9.3.0, ..., 9.5.3] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
- phpunit/phpunit[9.0.0, ..., 9.2.6] require php ^7.3 -> your php version (8.0.3) does not satisfy that requirement.
- Root composer.json requires codeception/verify ~0.5.0 || ~1.1.0 -> satisfiable by codeception/verify[0.5.0, 1.1.0].
Additional info
Q | A |
---|---|
Yii vesion | |
PHP version | 8.0.3 |
Operating system | Ubuntu 20.04 |
lozitskiys commented
sorry about that, ext-dom was missing