|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2012-03-20 10:14 UTC] pratheeshrajan18 at gmail dot com
[2012-03-20 10:14 UTC] pratheeshrajan18 at gmail dot com
-Package: *General Issues
+Package: LDAP related
[2012-03-24 01:56 UTC] sixd@php.net
[2013-09-30 11:31 UTC] mike@php.net
-Assigned To:
+Assigned To: sixd
[2013-09-30 11:31 UTC] mike@php.net
[2013-10-04 23:12 UTC] sixd@php.net
-Status: Assigned
+Status: Closed
[2013-10-04 23:12 UTC] sixd@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
Description: ------------ ldap functionality is not working when i configure ldap and oci8 together. I am getting "Out of memory" error while trying ldap. But, when i disabled oci8, it worked well. Could some one help please.. My configuration looks like './configure' '--with-apxs2=/appl/apache3/bin/apxs' '--with-mysql=/appl/mysql/' '--with-zlib' '--prefix=/appl/php5.2.9' '--enable-sockets' '--with-ldap' '--with-oci8=instantclient,/usr/lib/oracle/11.1/client64/lib/' '--enable-mbstring' '--with-mysqli' '--with-xmlrpc' '--with-libxml-dir' '--with-openssl' '--with-pcre-dir' '--with-pspell' '--enable-soap' '--with-xmlrpc' '--with-curl' '--enable-exif' '--with-gd' I tried changing the order of ldap and oci8 in the config, that also didn't work for me. All thoughts welcome Thanks, Prats Test script: --------------- Sample code ----------- <?php $ldapServer = "ldap://ldap.example.com"; $ldaprdn = "my user"; $ldappass = "my pass"; $ldap_conn = ldap_connect($ldapServer); $ldapbind =ldap_bind($ldap_conn); if($ldapbind) { echo "success"; } else { echo "LDAP-Errno: " . ldap_err2str(ldap_errno($ldap_conn)) . "<br />\n"; echo "binding failed"; echo "::::"; Getting the ldap error no: 10. Could any one have any idea ? Thanks in advance :) Prats.