F
F
fapchat2019-09-21 16:11:37
PHP
fapchat, 2019-09-21 16:11:37

How to fix this bunch of errors when trying to install composer in a cloned repository?

C:\MAMP\htdocs\newSite\php5\php-package>composer install
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 codeclimate/php-test-reporter 0.3.x-dev -> satisfiable by codeclimate/php-test-reporter[0.3.x-dev].
- codeclimate/php-test-reporter 0.3.x-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 2
- Installation request for codeclimate/php-test-reporter dev-master -> satisfiable by codeclimate/php-test-reporter[dev-master].
- codeclimate/php-test-reporter dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 3
- 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 4
- guzzle/guzzle v3.8.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- satooshi/php-coveralls v1.1.0 requires guzzle/guzzle ^2.8 || ^3.0 -> satisfiable by guzzle/guzzle[v3.8.1].
- Installation request for satooshi/php-coveralls v1.1.0 -> satisfiable by satooshi/php-coveralls[v1.1.0].
To enable extensions, verify that they are enabled in your .ini files:
- C:\MAMP\bin\php\php7.2.10\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

To enable extensions, verify that they are enabled in your .ini files:
- C:\MAMP\bin\php\php7.2.10\php.ini

How and what permissions should be added to php.ini?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Derepko, 2019-09-21
@fapchat

composer install --ignore-platform-reqs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question