• enable ldap for php5 in cpanel

    If you are using cpanel and want to add ldap support in php5 ,you have to do the following :

    echo "--with-ldap" >> /var/cpanel/easy/apache/rawopts/all_php5

    Then rebuild Apache to include the ldap module :


    After the rebuild finish ,verify that the module has been installed successfully :

    root@Raafat [/]#  php -m | grep -i ldap

    Categories: Cpanel

    Comments are currently closed.