• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

LDAP support for PHP on Plesk

D

DavidSeren

Guest
Hi Plesk Forum,

I've tried searching for hours today but am yet to find an answer of how to enable ldap for php on Plesk. I simply want to connect to Active directory to authenticate users for a client website. I have read all sorts of suggestions, and the PHP documentation calls for recompiliing with LDAP support enabled. This is dedicated server supplied by 1and1 so I am somewhat limited with what I can do.

I can't seem to find anything available online that gives me anything clear to follow.

Can anyone help me please?!

Thanks!
 
Plesk doesn’t ship client’s PHP, it only downloads it from original OS vendor repo. Therefore if vendor's PHP has LDAP support - you can use it. I have checked on my test environment and I see:

# php -i | grep -i with-ldap
Configure Command => './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu'
.......
'--with-ldap=shared' '--with-ldap-sasl'

# rpm -qi php | grep Vendor
Version : 5.1.6 Vendor: CentOS

# cat /etc/redhat-release
CentOS release 5.6 (Final)
 
Back
Top