您的系统中缺少扩展 gd - laravel composer 更新
本文介绍了您的系统中缺少扩展 gd - laravel composer 更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我通过 Composer 在 Laravel 项目中新安装了 Dompdf(composer 需要 barryvdh/laravel-dompdf
).进入命令终端后回复以下错误.
I newly install Dompdf in Laravel Project via Composer (composer require barryvdh/laravel-dompdf
). After enter the Command Terminal Reply Following Errors.
如何解决这个错误
我已经使用以下评论安装了 GD.sudo apt-get install php5-gd
以及 Apache 服务器重新启动.我的 Laravel 版本是 5.3,Ubuntu 版本是 14.04
I already Installed GD using Following comment. sudo apt-get install php5-gd
and also Apache Server Restarted. My Laravel Version is 5.3 and Ubuntu Version is 14.04
推荐答案
我已经安装了php7,我做了以下解决完全一样的错误
I have installed php7, I did the following to solve exactly the same error
这篇关于您的系统中缺少扩展 gd - laravel composer 更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!