Error installing/updating package with Composer

Asked

Viewed 68 times

0

I am installing/Updating the package using Composer, but this error appears:

inserir a descrição da imagem aqui

Composer.json

{
  "require": {
    "phpmailer/phpmailer": "~6.0",
    "mpdf/mpdf": "8.0.2"
  }
}

What should I do to correct the mistake?

  • Try to update by not setting the mpdf version. "mpdf/mpdf": "*"

  • @Vinicius You are asking to install this extension gd

1 answer

1

For those who have the same problem.

Just go in the file php.ini locate the line ;extension=gd2 and remove the ; which is at the beginning of the archive.

Ready!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.