docker安装php的gd库
2021-03-10 18:28
标签:ext gd库 dev log http pen configure usr install 原文:docker安装php的gd库 apt update #更新软件源 apt install -y libwebp-dev libjpeg-dev libpng-dev libfreetype6-dev #安装各种库 docker-php-source extract #解压源码 cd /usr/src/php/ext/gd #gd源码文件夹 docker-php-ext-configure gd --with-webp-dir=/usr/include/webp --with-jpeg-dir=/usr/include --with-png-dir=/usr/include --with-freetype-dir=/usr/include/freetype2 #准备编译 docker-php-ext-install gd #编译安装 php -m | grep gd docker安装php的gd库 标签:ext gd库 dev log http pen configure usr install 原文地址:https://www.cnblogs.com/lonelyxmas/p/12850845.html