`Reading /root/.cache/composer/repo/https---repo.packagist.org/provider-hoaustring.json from cache
Reading /root/.cache/composer/repo/https---repo.packagist.org/provider-hoavisitor.json from cache
Reading /root/.cache/composer/repo/https---repo.packagist.org/provider-hoastring.json from cache
Downloading https://repo.packagist.org/p2/hoa/string.json if modified
Reading /root/.cache/composer/repo/https---repo.packagist.org/provider-hoaustringdev.json from cache
Reading /root/.cache/composer/repo/https---repo.packagist.org/provider-hoavisitordev.json from cache
Reading /root/.cache/composer/repo/https---repo.packagist.org/provider-hoastringdev.json from cache
Downloading https://repo.packagist.org/p2/hoa/string~dev.json if modified
[304] https://repo.packagist.org/p2/hoa/string.json
[304] https://repo.packagist.org/p2/hoa/string~dev.json
Built pool.
Running pool optimizer.
Pool optimizer completed in 0.283 seconds
Found 7,262 package versions referenced in your dependency graph. 6,232 (86%) were optimized away.
Updating dependencies
Generating rules
Resolving dependencies through SAT
Dependency resolution completed in 0.001 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
- intervention/image[2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.x-dev, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.7.0, 2.7.1, 2.7.2] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- Root composer.json requires intervention/image 2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.x-dev, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.7.0, 2.7.1, 2.7.2].
To enable extensions, verify that they are enabled in your .ini files:
- /www/server/panel/tmp/composer_php_cli_81.ini
You can also run php --ini
in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-fileinfo
to temporarily ignore these required extensions.`
** I am getting such an error in composer. can you help me **