2017-04-05 111 views
0

任何人都知道如何解決pecl_http.so的以下錯誤?在Centos 7重新啓動httpd服務時升級php7.1 for pecl_http

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

在任何情況下,面臨着類似的情況,似乎是在pecl_http-3.1.0的錯誤在CentOS 7.我最終只是使用以前的穩定版pecl_http-3.0.1