任何人都知道如何为pecl_http.so解决以下错误?
PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/http.so' - /usr/lib64/php/modules/http.so: undefined symbol: uidna_IDNToASCII in Unknown on line 0
以下是安装的软件包。
Package Version State
apcu 5.1.7 stable
geoip 1.1.1 beta
pecl_http 3.1.0 stable
propro 2.0.1 stable
raphf 2.0.0 stable
以下是PHP包:
mod_php71w.x86_64 7.1.3-1.w7 @webtatic
php71w-cli.x86_64 7.1.3-1.w7 @webtatic
php71w-common.x86_64 7.1.3-1.w7 @webtatic
php71w-devel.x86_64 7.1.3-1.w7 @webtatic
php71w-gd.x86_64 7.1.3-1.w7 @webtatic
php71w-intl.x86_64 7.1.3-1.w7 @webtatic
php71w-mbstring.x86_64 7.1.3-1.w7 @webtatic
php71w-mcrypt.x86_64 7.1.3-1.w7 @webtatic
php71w-mysql.x86_64 7.1.3-1.w7 @webtatic
php71w-opcache.x86_64 7.1.3-1.w7 @webtatic
php71w-pdo.x86_64 7.1.3-1.w7 @webtatic
php71w-pear.noarch 1:1.10.1-1.w7 @webtatic
php71w-pecl-apcu.x86_64 5.1.7-1.w7 @webtatic
php71w-process.x86_64 7.1.3-1.w7 @webtatic
php71w-soap.x86_64 7.1.3-1.w7 @webtatic
php71w-xml.x86_64 7.1.3-1.w7 @webtatic
webtatic-release.noarch 6-9 installed
答案 0 :(得分:0)
如果有人遇到类似的情况,那么对于Centos 7,pecl_http-3.1.0似乎存在一个错误。我最终只使用了之前稳定版本的pecl_http-3.0.1