You are not logged in.
When I check phpinfo() it appears the PHP5 package was compiled with LDAP support but for some reason when I try a ldap_connect function in php it errors with 'Fatal error: Call to undefined function ldap_connect() in ...'
Anybody have any idea what the problem is?
Thanks,
Craig
Arch Linux (Duke)
JabberID: cgill27@jabber.org
IRC: Aletheuo
Registered Linux User #354975
Offline
BTW, I also have the current version of openldap package installed, 2.2.13-3, so it's not that that package is missing.
Arch Linux (Duke)
JabberID: cgill27@jabber.org
IRC: Aletheuo
Registered Linux User #354975
Offline
is it a php.ini thing? it may be compiled in but it may be disabled in the config file.
AKA uknowme
I am not your friend
Offline
I'm not sure about the php.ini thing, I've combed through it looking for idea's as well, but the only ldap string in the whole file is this 'extension=php_ldap.dll' and that doesn't apply to Arch.
Also at http://www.php.net/ldap it talks about requirements etc and I'm almost thinking that the php5 package is not compiled with ldap even though when I do a phpinfo() it does show '--with-ldap' in the compile settings.
Arch Linux (Duke)
JabberID: cgill27@jabber.org
IRC: Aletheuo
Registered Linux User #354975
Offline
Add this to the bottom of your /etc/php.ini and restart apache.
extension=ldap.so
Offline
Thank you very much that solved it!
And I learned something new about checking for the modules.
Craig
Arch Linux (Duke)
JabberID: cgill27@jabber.org
IRC: Aletheuo
Registered Linux User #354975
Offline