在阿里云上部署项目 GD Library extension not available with this PHP installation
开发在homestead下完成,现在部署到阿里云的ecs服务器,gd库一直报错。
请问需要在哪里配置?
当前配置
PHP 5.6.20-1+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
php -i | grep -i gd
/etc/php5/cli/conf.d/20-gd.ini,
gd
GD Support => enabled
GD headers Version => 2.1.1-dev
gd.jpeg_ignore_warning => 0 => 0
第三方库
"intervention/image": "^2.3",
报错信息
NotSupportedException in Driver.php line 16:
GD Library extension not available with this PHP installation.
推荐文章: