#26656 [Opn->Bgs]: ldap_set_option() while LDAP is compiled.  
Author Message
sniper





PostPosted: 2003-12-18 16:33:22 Top

php-dev, #26656 [Opn->Bgs]: ldap_set_option() while LDAP is compiled. ID: 26656
Updated by: email***@***.com
Reported By: herps at raqtweak dot com
-Status: Open
+Status: Bogus
Bug Type: LDAP related
Operating System: RedHat 6.0
PHP Version: 4.3.4
New Comment:

Definately not PHP bug.



Previous Comments:
------------------------------------------------------------------------

[2003-12-17 17:02:09] email***@***.com

I don't remember for sure, but I think you need at least
OpenLDAP 2.0 for ldap_set_option() to be there. If you
don't use this function in your scripts, you shouldn't
worry too much, but in general I would suggest installing
more up to date LDAP libraries. OpenLDAP 1 is getting quite
old.

------------------------------------------------------------------------

[2003-12-17 16:48:02] herps at raqtweak dot com

Description:
------------
For some reason I keep getting:

Fatal error: Call to undefined function: ldap_set_option()

However, my PHP is compiled with --with-ldap and it compiles just
fine.
A PHP info also shows LDAP just fine...

However, this exact same script, same system, compiled with PHP 4.1.2
same configure options gives a GOOD result...

Can someone please advise?!!
I have installed:
openldap-1.2.9-6
openldap-devel-1.2.9-6





------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=26656&edit=1