php ldap module

Hello,

Where do you enable the php ldap module on virtualmin gpl? On a windows server I just enable the extension in the php.ini file. Is there a place to modify the extensions on virtualmin?

Dan.

Howdy,

You may just need to install it.

How you’d do that depends on your distro, but if you were to SSH in, you could type this from the command line:

apt-get install php5-ldap (on Ubuntu/Debian)

yum install php5-ldap (on CentOS/RHEL)

One of those should do the trick!
-Eric

The CentOS yum command varies…but it’s probably:

yum install php-ldap

I landed up having to restart the server after installing it. Restarting just apache didn’t work. Everything seems to be working now.