This is my first laravel project and this error appears I can't figure out the solution and I searched for a solution in stack over flow and tried the solutions I found but it doesn't work.
composer create-project laravel/laravel newProject4
Your requirements could not be resolved to an installable set of packages.
Problem 1 - laravel/framework[v8.54.0, ..., 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, ..., 1.x-dev]. - league/flysystem[1.1.0, ..., 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - Root composer.json requires laravel/framework ^8.54 -> satisfiable by laravel/framework[v8.54.0, ..., 8.x-dev].
To enable extensions, verify that they are enabled in your .ini files: - C:\php\php.ini You can also run
php --iniinside terminal to see which files are used by PHP in CLI mode.
Edit When I wrote php --ini in the command this is what I got
Configuration File (php.ini) Path:
Loaded Configuration File: C:\php\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)