![](/img/trans.png)
[英]yum list *php* on Centos 6.6 is not showing any php packages
[英]yum install php-idn not working on centos 6.6
要安裝php-idn
,因為我是越來越Fatal error: Call to undefined function Pdp\\idn_to_ascii(
在安裝php-idn
,我得到了下面的錯誤,我上運行。 CentOs 6.6
和5.5 PHP
Loaded plugins: fastestmirror, presto
Setting up Install Process
Repository pgdg93 is listed more than once in the configuration
Repository pgdg93-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.usc.edu
* epel: mirrors.kernel.org
* extras: mirror.tocici.com
* rpmforge: mirror.hmc.edu
* updates: mirror.keystealth.org
Resolving Dependencies
--> Running transaction check
---> Package php-idn.x86_64 0:1.2c-1.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-idn-1.2c-1.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-idn-1.2c-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-idn-1.2c-1.el6.x86_64 (epel)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.5.20-2.el6.remi.x86_64 (@remi-php55)
php(zend-abi) = 20121212-64
Available: php-common-5.3.3-38.el6.x86_64 (base)
php(zend-abi) = 20090626
Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
php(zend-abi) = 20090626
Error: Package: php-idn-1.2c-1.el6.x86_64 (epel)
Requires: php(api) = 20090626
Installed: php-common-5.5.20-2.el6.remi.x86_64 (@remi-php55)
php(api) = 20121113-64
Available: php-common-5.3.3-38.el6.x86_64 (base)
php(api) = 20090626
Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
php(api) = 20090626
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
還嘗試使用
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/php-idn-1.2c-1.el6.x86_64.rpm
卸載epel並進行yum clean all
然后重新安裝最新的epel和您的軟件包。
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
與epel和rpmforge可能也有沖突。 它們可以與yum優先級或protectbase一起使用。 請參閱: http : //wiki.centos.org/PackageManagement/Yum/ProtectBase
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.