Error while running Composer install

Asked

Viewed 1,083 times

0

I’m cloning a Github repository Gitscrum and when I will execute the command Composer Install, it returns me the following error:

C: www Gitscrum>Composer install

[32mLoading Composer repositories with package information[39m [32mInstalling dependencies (including require-dev) from lock file[39m [37;41mYour Requirements could not be resolved to an installable set of Packages. [39;49m

Problem 1 - Installation request for guzzle/guzzle v3.8.1 -> satisfiable by guzzle/guzzle[v3.8.1]. - guzzle/guzzle v3.8.1 requires ext-Curl * -> the requested PHP Extension Curl is Missing from your system. Problem 2 - Installation request for Intervention/image 2.3.8 -> satisfiable by Intervention/image[2.3.8]. - Intervention/image 2.3.8 requires ext-fileinfo * -> the requested PHP Extension fileinfo is Missing from your system.
Problem 3 - Installation request for knplabs/github-api 1.7.1 -> satisfiable by knplabs/github-api[1.7.1]. - knplabs/github-api 1.7.1 requires ext-Curl * -> the requested PHP Extension Curl is Missing from your system. Problem 4 - knplabs/github-api 1.7.1 requires ext-Curl * -> the requested PHP Extension Curl is Missing from your system. - Graham-Campbell/github v4.4.2 requires knplabs/github-api 1.3 -> satisfiable by knplabs/github-api[1.7.1]. - Installation request for Graham-Campbell/github v4.4.2 -> satisfiable by Graham-Campbell/github[v4.4.2].

To enable Extensions, Verify that they are enabled in those . ini files: - C: php php.ini You can also run php --ini Inside terminal to see which files are used by PHP in CLI mode.

How To Solve?

  • Missing ext-Curl and ext-fileinfo extensions on your computer.

  • Exactly, I just activated it in php.ini but it has another name: Extension=php_curl.dll Extension=php_fileinfo.dll

  • 1

    Which operating system are you using? You need to enable Curl to be able to function properly, according to the error message.

1 answer

-2

execute:

composer update

To update the project Poser.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.