LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-28-2006, 05:15 PM   #1
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Rep: Reputation: 30
Question 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?

Last edited by scrupul0us; 11-28-2006 at 05:15 PM. Reason: LDAP, PHP, UBUNTU
 
Old 11-28-2006, 08:18 PM   #2
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
heres what i did:

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

goto:

/etc/php5/apache2/php.ini

and added:

extension=mod_ldap.so

then:

sudo /etc/init.d/apache2 restart

sudo apt-get install php5-gd

sudo /etc/init.d/apache2 restart
 
Old 02-05-2007, 08:07 PM   #3
lparsons
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
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).

Code:
sudo apt-get install php5-ldap
sudo /etc/init.d/apache2 restart
At least that worked for me.
 
  


Reply

Tags
gd, ldap, php, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM
Installed Ubuntu. Next Step. tombiz Ubuntu 11 08-26-2006 03:04 AM
Cannot boot already installed ubuntu on newly installed win xp abhi_337 Ubuntu 1 07-13-2006 03:33 AM
XP doesn't recognize Ubuntu, Ubuntu installed first. MonkeyBusiness Linux - Newbie 9 06-21-2006 03:58 AM
Little question: ubuntu recognizes other OS already installed? metcalfe Ubuntu 6 02-28-2006 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration