在CentOS 5.5上为php 5.3安装ldap时出错

时间:2011-04-29 10:02:23

标签: php ldap centos

ldap

上为PHP 5.3安装CentOS 5.5时出错

错误信息如下:

[root@localhost ~]# yum install php-ldap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-ldap.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-ldap
--> Finished Dependency Resolution
php-ldap-5.1.6-27.el5_5.3.i386 from updates has depsolving problems
  --> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-ldap-5.1.6-27.el5_5.3.i386 (updates)
Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-ldap-5.1.6-27.el5_5.3.i386 (updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

3 个答案:

答案 0 :(得分:1)

您需要先安装yum install php-common

答案 1 :(得分:1)

安装yum install php53-ldap

答案 2 :(得分:1)

或尝试安装yum install php55w-ldap。