1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

composer.phar installでのエラー

Posted at

自分用メモ

新環境にて、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-gdext-xmlをインストールすればいいだけ。

apt install ext-gd ext-xml
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?