thinkcmf6.0的php环境配置

编译参数:
./configure –prefix=/home/system/php74 –enable-fpm –enable-mbstring –with-pdo-mysql –with-curl –enable-gd –with-freetype –with-pear –with-zlib

出现:Call to undefined function imagettftext()错误
我这边的情况是,第一次编译没加with-freetype,后续添加上还是不行,只能make clear,然后再configure,就好了,就当是编译时有缓存吧,不再花时间研究。

后台安装应用,无响应,不能安装,编译php时需要加上–with-zlib

发表回复

您的电子邮箱地址不会被公开。