Results 1 to 2 of 2
I'm having a bit of trouble in CentOS 5 in compiling php-5.2.4 from source with a few extra options, but the one that keeps crapping out on me is --with-ldap, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-02-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 3
Compiling PHP 5.24 with LDAP support
I'm having a bit of trouble in CentOS 5 in compiling php-5.2.4 from source with a few extra options, but the one that keeps crapping out on me is --with-ldap, saying it can't find ldap.h ... I understand this needs to be in /usr/includes, but it's not there. I tried compiling OpenLDAP, but it complains about not having BerkelyDB. Do I really need to install this just to compile OpenLDAP, or is there some kind of major issue I'm missing here?
Any help is appreciated.
I have gotten this to work under Ubuntu 7.06, but no such luck with Centos.
- 11-05-2007 #2
Sorry, this is not directly answering your question but why are you trying to compile PHP on CentOS? What is wrong with yum install php?
Code:[root@insomnia ~]# yum info php Name : php Arch : i386 Version: 5.1.6 Release: 15.el5 Size : 3.1 M Repo : installed Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)


Reply With Quote
