怎么开启 GD

问答中心分类: OneinStack怎么开启 GD
leejon asked 4年 ago

环境:
aarch64
armbian
 
PHP 编译选项改为 disable-gd 全部安装完后使用正常。
现在想安装论坛程序 Flarum 需要开启 GD 扩展,尝试过 --with-dg  --with-gd=/usr/local 都会有报错。
configure: error: GD build test failed. Please check the config.log for details.
 
国内外源都更换过。
 
日志打包
https://www.lanzous.com/i9zvsgj
 
 

Question Tags:

1 Answers
oneinstack answered 4年 ago
不修改php-x.x.sh ,先执行apt-get -y install libgd2-xpm-dev build-essential 之后再重新安装试试