Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Buzz's avatar
Level 1

Laravel Framework /Installer Erroneous

Problem 1 - laravel/framework[v10.10.0, ..., v10.37.3] require league/flysystem ^3.8.0 -> satisfiable by league/flysystem[3.8.0, ..., 3.23.0]. - league/flysystem[3.3.0, ..., 3.14.0] require league/mime-type-detection ^1.0.0 -> satisfiable by league/mime-type-detection[1.0.0, ..., 1.14.0]. - league/flysystem[3.15.0, ..., 3.23.0] require league/flysystem-local ^3.0.0 -> satisfiable by league/flysystem-local[3.15.0, ..., 3.23.0]. - league/mime-type-detection[1.0.0, ..., 1.3.0] require php ^7.2 -> your php version (8.2.13) does not satisfy that requirement. - league/mime-type-detection[1.4.0, ..., 1.14.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - league/flysystem-local[3.15.0, ..., 3.23.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - Root composer.json requires laravel/framework ^10.10 -> satisfiable by laravel/framework[v10.10.0, ..., v10.37.3].

Any ideas folks, what this problem is and how to solve it. I am using composer.exe to install Laravel

0 likes
2 replies
Randy_Johnson's avatar
Level 8

I am guessing you're on Linux. It may have something to do with the php.ini file, you can find the file location by typing php --ini in your terminal to find the location.

Then you wanna search for this

;extension=fileinfo

and change it to this.

extension=fileinfo
Buzz's avatar
Level 1

This morning I went after it, but was not working even after enabling the fileinfo extension in all php installations. Finally, I uninstalled composer and the corresponding php installation from Program Files including the path in environment variables. Then installed composer and confirmed this as its PATH on the current PHP version in WAMP my favorite server; restarted the system and all's well again. Just in case some else has the same problem... Warm regards, Caydee

1 like

Please or to participate in this conversation.