【发布时间】:2021-02-04 22:49:43
【问题描述】:
我正在尝试再次从源代码安装 php,到目前为止我已经做了好几次了。我真的需要 freetype 支持,当我尝试编译 php 时,一切都很好,除了 freetype。
PHP 版本:8.0.1
错误:配置:警告:无法识别的选项:--with-freetype-dir
终端命令:
sudo ./configure --prefix=/usr/local/php --with-mysqli=mysqlnd --with-apxs2=/usr/local/apache2/bin/apxs --with-jpeg --with-zlib --with-kerberos --enable-gd --with-freetype-dir=/usr/local/freetype2/ --with-freetype
【问题讨论】: