2010年11月13日星期六

[fw-auth] Ldap extension not loaded

I am trying to authenticate via LDAP. I am getting the message "0x7002: LDAP
extension not loaded". I have checked everything and compared it to other
servers where I am successfully using LDAP. Everything appears the same.

I decided to create a simple php script like below, utilizing the code from
/Zend/Ldap.php:

<?php

if (!extension_loaded('ldap')) {
echo 'LDAP Extension not loaded!';
} else {
echo 'Good to go!';
}
?>

I ran this script on the other servers from which I can successfully
authenticate via LDAP, and then on the server that I'm getting the "not
loaded" message on.

On all of them I am getting the "Good to go!" message from my script.

So my question is, why is my little test script returning a "Good" on
finding the extension, but the Framework is not? What am I missing? Is there
something else I can check? This is Framework 1.9.6.
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Ldap-extension-not-loaded-tp3041379p3041379.html
Sent from the Zend Auth mailing list archive at Nabble.com.

没有评论: