错误内容:
Either GD PHP extension with FreeType support or ImageMagick PHP extension with PNG support is required
原因:是因为php没有安装图像处理库,需要安装一下库文件,然后添加到php扩展配置中。
解决办法:
在服务器上安装php-gd
ubuntu示例:sudo apt install php-gd
安装完成后讲gb.so添加到php.ini扩展中,如下:
extension=gd.so
重新加载web服务器,问题就可以解决了。