Installing Simple LDAP in WordPress “undefined function ladp_connect()”

ubuntu-logo32When trying to install a wordpress site with the LDAP simple plugin (on Ubuntu Server), I got a blank page for the login page and found the following error in my /var/log/apache2/error.log:

PHP Fatal error:  Call to undefined function ldap_connect() in /var/www/wp-content/plugins/simple-ldap-login/Simple-LDAP-Login.php on line 263

Thankfully the fix was pretty simple, just run the following command in a terminal on the server:

apt-get install php5-ldap
This entry was posted in Linux, System Administration and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>