From: Operating system: Linux PHP version: trunk-SVN-2012-03-20 (SVN) Package: *General Issues Bug Type: Bug Bug description:oci8, open ldap not working
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. -- Edit bug report at https://bugs.php.net/bug.php?id=61450&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61450&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61450&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61450&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61450&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61450&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61450&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61450&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61450&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61450&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61450&r=support Expected behavior: https://bugs.php.net/fix.php?id=61450&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61450&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61450&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61450&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61450&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61450&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61450&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61450&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61450&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61450&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61450&r=mysqlcfg