Extension gd is missing from your system - laravel composer Update

前端 未结 13 2337
野趣味
野趣味 2021-01-31 14:00

I newly install Dompdf in Laravel Project via Composer (composer require barryvdh/laravel-dompdf). After enter the Command Terminal Reply Following Errors.

13条回答
  •  無奈伤痛
    2021-01-31 14:35

    The solution is quite simple.

    In your php.ini, just uncomment the line extension=php_gd2.dll (or .so extension for unix systems.)

    Hope it helps.

提交回复
热议问题