@forwox

Как установить PHP-клиент для работы с API retailCRM на Open SERVER?

Open Server 5.2.4

Ни как не могу установить https://github.com/retailcrm/api-client-php

Положил файлы в папку с сайтом , в консоли выполняю
Microsoft Windows [Version 6.3.9600]

MasteR@ASPIREV5 c:\openserver
$ cd C:\openserver\domains\my.loc

MasteR@ASPIREV5 C:\OpenServer\domains\my.loc
$ composer install
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
    - Installation request for phpunit/php-code-coverage 3.3.0 -> satisfiable by phpunit/php-code-coverage[3.3.0].
    - phpunit/php-code-coverage 3.3.0 requires php ^5.6 || ^7.0 -> your PHP version (5.3.29) does not satisfy that requirement.
  Problem 2
    - Installation request for phpunit/php-invoker 1.1.4 -> satisfiable by phpunit/php-invoker[1.1.4].
    - phpunit/php-invoker 1.1.4 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
  Problem 3
    - phpunit/phpunit 5.2.9 requires php ^5.6 || ^7.0 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.8 requires php ^5.6 || ^7.0 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.7 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.6 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.5 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.4 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.3 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.2 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.12 requires php ^5.6 || ^7.0 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.11 requires php ^5.6 || ^7.0 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.10 requires php ^5.6 || ^7.0 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.1 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - phpunit/phpunit 5.2.0 requires php >=5.6 -> your PHP version (5.3.29) does not satisfy that requirement.
    - Installation request for phpunit/phpunit 5.2.* -> satisfiable by phpunit/phpunit[5.2.0, 5.2.1, 5.2.10, 5.2.11, 5.2.12, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8,
 5.2.9].

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

Не очень хорошо пока разбираюсь в этом. В чём может быть проблема??
Уже запарился искать решение ((( Помогите пожалуйста!
  • Вопрос задан
  • 1064 просмотра
Пригласить эксперта
Ответы на вопрос 1
GavriKos
@GavriKos
У вас PHP старый. То что вы ставите требует минимум 5.6.
Ответ написан
Ваш ответ на вопрос

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

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