• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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