Using php-ldap in Centos 6.3

后端 未结 1 1515
面向向阳花
面向向阳花 2021-02-14 15:26

I\'m trying to build a LDAP interface using php but have run into this strange problem. I have installed the php-ldap package using yum on my base php install but whenever I cal

相关标签:
1条回答
  • 2021-02-14 15:37

    Are you sure you have openldap included?

    I just realized I have the same issue where phpinfo shows me several other ldap modules loaded by apache, but I do no have openldap

    http://www.php.net/manual/en/ldap.installation.php

    I just got a successful install following the directions here: http://www.aoddy.com/2009/01/18/how-to-install-php-ldap-module-on-centos5/

    Instructions from link:

    • yum install php-ldap
    • vi /etc/php.ini
      • add extension=ldap.so
    • service httpd restart
    0 讨论(0)
提交回复
热议问题