php - Install GD on PHP 5.6
问题描述
My web app is running on PHP 5.6.4 and Nginx on Ubuntu Ubuntu 16.04.1.
I am getting the following error in my browser:
FPDF error: GD extension is required for GIF support
I have recently reinstalled the server locally, so I am presuming GD library needs to be installed. So I ran the following commands:
sudo apt-get install php5.6-gd
sudo service php5.6-fpm restart
sudo service nginx restart
But I am still getting the same error message, can anyone advise what I should do please?
解决方案
推荐阅读
- reactjs - 未找到模块:错误:无法解析“@material-ui/core/styles”(部署到 heroku 时)
- haskell - SDL.P(点构造函数)在哪里定义?
- python - 构建一个函数 Saving_calculator(PMT, n, i)` 来计算您的客户在退休时的储蓄
- javascript - 在 Angular Material mat-select 之上创建一个自定义组件
- gdb - gdb 中的这些数字是多少?
- python - 如何将用 Dash 编写的网站显示为静态 PDF (Python)?
- python - Azure Blob - 直接存储到存档层
- python - 如何避免python循环中的最后一个逗号
- c++ - C++中模板化异常类的多重继承
- c# - 如何从 C# 中的下拉列表控件中删除项目