]> granicus.if.org Git - php/commit
Allow the ldap extension to be compiled with Oracle's LDAP
authorChristopher Jones <sixd@php.net>
Fri, 4 Oct 2013 22:50:16 +0000 (15:50 -0700)
committerChristopher Jones <sixd@php.net>
Fri, 4 Oct 2013 22:50:16 +0000 (15:50 -0700)
commit5bc377457e155ceaddd27a536467a4d353fdcd4f
treeada2c8568be310f86740037e0f6e2e95a138c0df
parentfb6f5d2e2d44e205cdde7320a7674e43fdd7980b
Allow the ldap extension to be compiled with Oracle's LDAP
implementation, if desired.  Note the implementations differ so you
will see different ldap behavior.

The patch allows configuration similar to:
--with-ldap=$HOME/instantclient --with-oci8=instantclient,$HOME/instantclient

The patch doesn't support configuration similar to:
--with-ldap --with-oci8=instantclient,$HOME/instantclient
since this would try and mix the default LDAP and Oracle LDAP
implementations.

This patch closes out bug #61450 and the associated github PR.

Regardless of this patch, my recommended way to install both OCI8 and
ldap extensions is to statically configure PHP with ldap, and then add
OCI8 as a shared extension from PECL.
ext/ldap/config.m4
ext/ldap/ldap.c