Installationsproblem mit Composer

Hallo zusammen,
ich bekomme immer wieder die selben Fehlermeldungen bei dem Versuch den OXID eshop über Composer zu installieren.
Leider werde ich aus den Problemen die aufgezählt werden nicht schlau.
Ich hoffe ihr könnt mir weiterhelfen und ich bedanke mich schon mal im voraus.

Server: Ubuntu 14.04.5 LTS
Plesk Onyx Version 17.5.3
PHP Version 7.0.29 ist aktiviert

Installing oxid-esales/oxideshop-project (dev-b-6.0-ce dbfcca64785ed0bdeef6222ec366f333d1e82e3f)

sh: 1: git: not found

Now trying to download from dist
  • Installing oxid-esales/oxideshop-project (dev-b-6.0-ce b-6.0-ce):
    Created project in my_oxid_eshop_project
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

Problem 1
- bestit/amazonpay4oxid 3.0.2 requires php >=5.6 → your PHP version (5.5.9) does not satisfy that requirement.
- oxid-esales/oxideshop-metapackage-ce v6.0.2 requires bestit/amazonpay4oxid 3.0.2 → satisfiable by bestit/amazonpay4oxid[3.0.2].
- Installation request for oxid-esales/oxideshop-metapackage-ce v6.0.2 → satisfiable by oxid-esales/oxideshop-metapackage-ce[v6.0.2].

Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.

PHP 7 ist zwar für den Webserver eingestellt, aber anscheinend nicht für das CLI.
Das nutzt anscheinend PHP 5.5.9.

Versuch mal:
/opt/plesk/php/7.0/bin/php composer.phar create-project --no-dev oxid-esales/oxideshop-project my_oxid_eshop_project dev-b-6.0-ce
(Setzt natürlich voraus, dass die Datei composer.phar vorhanden ist)

Ich hatte ähnliche Probleme. Bei welchem Provider bist du?

Vielen Dank für die schnelle Hilfe. Composer.phar war die Lösung des Problems.

Wir haben selbst Server bei Strato angemietet.

1 Like