• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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