【发布时间】:2017-11-29 16:37:31
【问题描述】:
我试图在运行 CentOS 7 的 VM 上安装 php,但是当我尝试配置 php 时,我遇到了以下错误:
我的配置设置:
./configure --enable-bcmath --with-bz2 --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --enable-gd-native-ttf --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-openssl --with-pcre-regex --with-pdo-mysql --with-zlib-dir --with-regex --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-soap --enable-sockets --with-xmlrpc --enable-zip --with-zlib --enable-inline-optimization --enable-mbregex --enable-opcache --enable-fpm --prefix=/usr/local/php
错误:
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
我已经经历了大约十几个线程说我需要安装 libc-client-devel,但是当我尝试这样做(使用 yum)时,我收到一个错误,指出该包不存在。
我在这里错过了什么?
【问题讨论】: