Re: How to compile LDAP Extension for PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jorge Hernandez wrote:

> I'm trying to build PHP from source, but when I run ./configure with
> all the extensions I want to build, I get this:
> 
> checking for LDAP support... yes, shared
> checking for LDAP Cyrus SASL support... no
> checking size of long int... 8
> checking for 3 arg ldap_set_rebind_proc... yes
> checking for ldap_parse_result... no
> checking for ldap_parse_reference... no
> checking for ldap_start_tls_s... no
> checking for ldap_bind_s... no
> configure: error: LDAP build check failed. Please check config.log for
> more information.
> 
> I installed LDAP 2.4.40 and 2-devel to my Ubuntu 14.04 for this, but
> it keeps saying that.
> 
> Any ideas how I can fix that?

Have you tried `./configure --with-ldap[=DIR]`?  Also see the respective
manual page: <http://php.net/manual/en/ldap.installation.php>.

-- 
Christoph M. Becker





[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux