When I typed "composer install" in the terminal, I got the following error message:
Problem 1
- Installation request for league/flysystem 1.0.66 -> satisfiable by league/flysystem[1.0.66].
- league/flysystem 1.0.66 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
Problem 2
- league/flysystem 1.0.66 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- laravel/framework v5.8.37 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.66].
- Installation request for laravel/framework v5.8.37 -> satisfiable by laravel/framework[v5.8.37].
After investigating, it seems that this "extension file info" is the key.
extension=php_fileinfo.dll
Was to be enabled in php.ini, but in my case I didn't find it, so I added it to php.ini. Then I was able to install it safely.
Reference: https://qiita.com/sola-msr/items/95e06e66730468b6c7bc
Recommended Posts