When i try to install a new laravel project it says Your requirements could not be resolved to an installable set of packages.
Problem 1
– Root composer.json requires laravel/framework ^12.0 -> satisfiable by laravel/framework[v12.0.0, v12.0.1, v12.1.0, v12.1.1].
– laravel/framework[v12.0.0, …, v12.1.1] require league/flysystem-local ^3.25.1 -> satisfiable by league/flysystem-local[3.25.1, 3.28.0, 3.29.0].
– league/flysystem-local[3.15.0, …, 3.29.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP’s fileinfo extension.
To enable extensions, verify that they are enabled in your .ini files:
– C:\Program Files\php-8.2.26-Win32-vs16-x64\php.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.
PS C:\laragon\www> php –ini
Configuration File (php.ini) Path:
Loaded Configuration File: C:\Program Files\php-8.2.26-Win32-vs16-x64\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none). How can i solve this error