S
S
Sergey2018-05-25 21:06:13
Composer
Sergey, 2018-05-25 21:06:13

How to fix composer install errors?

cloned the repository from the git project on Laravel, but after entering the console composer installI get errors

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for intervention/image 2.4.1 -> satisfiable by intervention/image[2.4.1].
    - intervention/image 2.4.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  Problem 2
    - Installation request for stripe/stripe-php v6.4.1 -> satisfiable by stripe/stripe-php[v6.4.1].
    - stripe/stripe-php v6.4.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 3
    - Installation request for facebook/webdriver 1.5.0 -> satisfiable by facebook/webdriver[1.5.0].
    - facebook/webdriver 1.5.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 4
    - intervention/image 2.4.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - tcg/voyager dev-master requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.1].
    - Installation request for tcg/voyager dev-master -> satisfiable by tcg/voyager[dev-master].

  To enable extensions, verify that they are enabled in your .ini files:
    - E:\www\OpenServer\modules\php\PHP-7.1\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Has anyone had any idea what to do with this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Akbarali, 2021-01-17
@Akbarbek

To enable the FileInfo extension you need to edit php.ini and change one line.
Find the line:
;extension=php_fileinfo.dll
Remove the original comment:
extension=php_fileinfo.dll
https://ruphp.com/ext-fileinfo-x4.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question