2017-11-29 15 views
0

누락,하지만 PHP를 구성 할 때, 나는 다음과 같은 오류로 실행오류 : utf8_mime2text()는 새 서명을 가지고 있지만 U8T_CANONICAL 내가 CentOS는 7을 실행하는 VM에서 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. 

bath는 libc-client-devel을 설치해야한다는 말을 쓰지만, yum을 사용하려고하면 패키지가 존재하지 않는다는 오류가 발생합니다.

무엇이 여기에 있습니까?

답변

0

이 문제를 나중에 보는 사람이라면 궁금해 할 것입니다. 누락 된 패키지를 사용하려면 EPEL 저장소를 활성화해야했습니다. 저장소를 가져 오면 모든 것이 잘 설치됩니다.