Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3

    Question 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.

  2. #2
    Just Joined! Vitaliy's Avatar
    Join Date
    Mar 2006
    Location
    Brooklyn, NY
    Posts
    20
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •