• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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