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

From: Date: Thu, 18 Dec 2003 08:29:28 +0000
Subject: #26656 [Opn->Bgs]: ldap_set_option() while LDAP is compiled.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52248@lists.php.net to get a copy of this message
 ID:               26656
 Updated by:       sniper@php.net
 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] venaas@php.net

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


Thread (4 messages)

« previous php.bugs (#52248) next »