相关疑难解决方法(0)

configure:error:utf8_mime2text()有新签名,但缺少U8T_CANONICAL

今天我想在MacOS Mountain Lion上升级php.我按照MacTuts +教程和我执行该长命令的步骤:

./configure  \
--prefix=/usr  \
--mandir=/usr/share/man  \
--infodir=/usr/share/info  \
--sysconfdir=/private/etc  \
--with-apxs2=/usr/sbin/apxs  \
--enable-cli  \
--with-config-file-path=/etc  \
--with-libxml-dir=/usr  \
--with-openssl=/usr  \
--with-kerberos=/usr  \
--with-zlib=/usr  \
--enable-bcmath  \
--with-bz2=/usr  \
--enable-calendar  \
--with-curl=/usr  \
--enable-dba  \
--enable-exif  \
--enable-ftp  \
--with-gd  \
--enable-gd-native-ttf  \
--with-icu-dir=/usr  \
--with-iodbc=/usr  \
--with-ldap=/usr  \
--with-ldap-sasl=/usr  \
--with-libedit=/usr  \
--enable-mbstring  \
--enable-mbregex  \
--with-mysql=mysqlnd  \
--with-mysqli=mysqlnd  \
--without-pear  \
--with-pdo-mysql=mysqlnd  \
--with-mysql-sock=/var/mysql/mysql.sock  \
--with-readline=/usr  \
--enable-shmop  \
--with-snmp=/usr  \
--enable-soap  \ …
Run Code Online (Sandbox Code Playgroud)

php macos

32
推荐指数
7
解决办法
4万
查看次数

在官方 PHP docker 镜像上安装 IMAP 扩展时出错

如果您在 PHP docker 映像中安装 IMAP 扩展,则可能会出现一些错误,例如:

配置:错误:utf8_mime2text() 有新签名,但缺少 U8T_CANONICAL。这不应该发生。检查 config.log 以获取更多信息。

进而:

配置:错误:此 c 客户端库是使用 Kerberos 支持构建的。

php imap docker

3
推荐指数
1
解决办法
3951
查看次数

标签 统计

php ×2

docker ×1

imap ×1

macos ×1