在 Centos 7 上重启 httpd 服务时,升级 php7.1 for pecl_http 时出错

Error in upgrading php7.1 for pecl_http when restarting httpd service on Centos 7

有人知道如何解决 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

如果有人遇到类似情况,Centos 7 的 pecl_http-3.1.0 似乎有一个错误。我最终只使用了以前的稳定版本 pecl_http-3.0.1