-   Ubuntu (
-   -   Just installed ubuntu... got a question (LDAP,PHP) (

scrupul0us 11-28-2006 06:15 PM

Just installed ubuntu... got a question (LDAP,PHP)
I'm going through and so far im LOVING it... its running GREAT on my laptop... now, my actual production server runs slackware but im thinking about making a migration... at any rate... one thing ive noticed is that PHP isnt compiled with options but with the .ini file... so my question is how do i get ldap support in php in ubuntu?

scrupul0us 11-28-2006 09:18 PM

heres what i did:

sudo apt-get install slapd
sudo apt-get install openldap



and added:


sudo /etc/init.d/apache2 restart

sudo apt-get install php5-gd

sudo /etc/init.d/apache2 restart

lparsons 02-05-2007 09:07 PM

Install LDAP support for PHP in Ubuntu 6.10
I believe all you really need to do is install the php4-ldap or php5-ldap packages (and restart apache).


sudo apt-get install php5-ldap
sudo /etc/init.d/apache2 restart

At least that worked for me.

All times are GMT -5. The time now is 10:39 AM.