【发布时间】:2015-12-15 00:25:28
【问题描述】:
我有一个预装了 CentOs 6.6 和 WHM/CPanel 的非托管 VPS 服务器。我正在尝试安装 php-ldap 但它只是说找不到包。我无法在任何地方找到它应该在哪个存储库中。如何在我的服务器上安装 ldap 以使用 php 5.4?我正在尝试管理 Windows Server 2012 R2 Active Directory。
root@vps [~]# yum install php-ldap
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.5ninesolutions.com
* epel: fedora-epel.mirror.lstn.net
* extras: centos.arvixe.com
* updates: pubmirrors.dal.corespace.com
No package php-ldap available.
Error: Nothing to do
root@vps [~]#
【问题讨论】:
-
无论如何都不是 CentOS 专家,但rpmfind.net/linux/rpm2html/search.php?query=php-ldap 列出了 6.7 的软件包。这些会与6.6兼容吗?如果您没有添加默认存储库,请查看unix.stackexchange.com/questions/52666/…。
-
我最终切换到了 Ubuntu 服务器,因为我更了解它。谢谢你的回答。