Flashter
@Flashter
Учусь программировать

Как устранить ошибку при установке Composer'a?

Возникла потребность в использовании библиотеки instagram-php-scraper (https://github.com/postaddictme/instagram-php-scraper)
1) скачал
2) скачал php (windows.php.net VC11 x64 Thread Safe (2017-Jan-19 07:07:56))
3) Установил на C:\php
4) Скачал vc_redist.x64.exe установил
5) скачал composer.phar и заюзал php composer.phar install и даже скачал потом просто композер и установил
6) В библиотеке instagram-php-scraper есть файл composer.json
7) пытаюсь выполнить php composer.phar install или composer require mashape/unirest-php
Ошибка
composer require mashape/unirest-php
Using version ^3.0 for mashape/unirest-php
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- mashape/unirest-php v3.0.4 requires ext-curl * -> the requested PHP extens
ion curl is missing from your system.
- mashape/unirest-php v3.0.3 requires ext-curl * -> the requested PHP extens
ion curl is missing from your system.
- mashape/unirest-php v3.0.2 requires ext-curl * -> the requested PHP extens
ion curl is missing from your system.
- mashape/unirest-php v3.0.1 requires ext-curl * -> the requested PHP extens
ion curl is missing from your system.
- mashape/unirest-php v3.0.0 requires ext-curl * -> the requested PHP extens
ion curl is missing from your system.
- Installation request for mashape/unirest-php ^3.0 -> satisfiable by mashap
e/unirest-php[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4].

To enable extensions, verify that they are enabled in your .ini files:
- C:\php\php.ini
You can also run `php --ini` inside terminal to see which files are used by PH
P in CLI mode.

Installation failed, reverting ./composer.json to its original content.

Можете как то пояснить?
  • Вопрос задан
  • 705 просмотров
Решения вопроса 1
DevMan
@DevMan
the requested PHP extension curl is missing from your system
что тут непонятного?
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы