Hi all,
there has been some discussion about this in a GH issue[1].
TL;DR: building ext/ldap against Oracle LDAP had been supported, and is
theoretically still supported, but is apparently broken for a while.
The Oracle LDAP implementation is part of Oracle Instant Client, and
uses an older LDAP API; apparently, there are no plans for updating
this. So users are almost certainly better off to build against
OpenLDAP (and if they need OCI8, to build that as shared library, and
load after ext/ldap).
However, so far no further steps have been taken. Since it appears that
there will be a PHP 8.5, I think it makes sense to deprecate building
against Oracle LDAP (instead of silently dropping in PHP 9).
I should note that the ldap_connect_wallet() function, available only as
of PHP 8.3[2] would also be part of the deprecation, as well as other
existing Oracle LDAP specific features.
Thoughts?
[1] https://github.com/php/php-src/issues/15051
[2]
https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures#ldap_connect
Christoph