自分用メモ
新環境にて、EC-Eubeの2系を構築してた所のエラーです。
ググってもあまり出てこなかったので、備忘録として。
$ php composer.phar install --no-dev --no-interaction -o
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires PHP extension ext-gd * but it is missing from your system. Install or enable PHP's gd extension.
Problem 2
- pear/xml_serializer is locked to version v0.22.0 and an update of this package was not requested.
- pear/xml_serializer v0.22.0 requires ext-xml * -> it is missing from your system. Install or enable PHP's xml extension.
Problem 3
- setasign/fpdf is locked to version 1.8.5 and an update of this package was not requested.
- setasign/fpdf 1.8.5 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
To enable extensions, verify that they are enabled in your .ini files:
解決策
ext-gd
とext-xml
をインストールすればいいだけ。
apt install ext-gd ext-xml