On 09.11.2024 at 17:18, Christoph M. Becker wrote: > 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>
Since there has been no feedback so far, I would like to go on with a deprecation RFC. As this deprecation doesn't seem to be highly controversial, nor requires an eleborate justification, I like to request permission to add it to the general "Deprecations for PHP 8.5" RFC[1] which is still in draft status (although it erroneously says "Pending Implementation"). [1] <https://wiki.php.net/rfc/deprecations_php_8_5> Christoph