ext-gd * -> the requested PHP extension gd is missing from your system

ext-gd * -> the requested PHP extension gd is missing from your system

Problem 1
– dompdf/dompdf v0.8.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
– dompdf/dompdf v0.8.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
– Installation request for dompdf/dompdf v0.8.0 -> satisfiable by dompdf/dompdf[v0.8.0].

the solution was to install gd extension:

sudo apt-get install php7.0-gd


Related Articles

Used terminal commands laravel

Create a new project in laravel: #laravel new your-project-name Another way to create a new project: #composer create-project laravel/laravel your-project-name

Change php version in mac

First you must have installed brew.   Run these commands in your terminal Add this aliases in ~/.zhrc

This package requires php <=7.0.27 but your PHP version (7.0.30) does not satisfy that requirement.

At some projects when I tried: php composer install it gives me the following error: – This package requires php