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

From: Date: Thu, 18 Dec 2003 09:00:20 +0000
Subject: #26656 [Bgs]: ldap_set_option() while LDAP is compiled.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52252@lists.php.net to get a copy of this message
ID: 26656 User updated by: herps at raqtweak dot com Reported By: herps at raqtweak dot com Status: Bogus Bug Type: LDAP related Operating System: RedHat 6.0 PHP Version: 4.3.4 New Comment: sniper: This is a professional, and therefor NOT a snide comment: Your comments now, and in the past are NEVER useful. You ALWAYS *IMMEDIATELY* say "not PHP bug". What is a BUG? Something that is not working while it should... LDAP 1 is an older version, and most of the times older versions ARE compatible... Sometimes though, they are not... However, I COULD NOT FIND THIS ANYWHERE ON THE SITE HERE!! So, imho, this IS indeed a bug, as LDAP is said to be working (does not say it does not) but it is not however... Get my point? Again, I am not trying to offend you, but I do hope you understand my, and other people's visions and try to look into it a little more before you IMMEDIATELY post "not my fault" Previous Comments: ------------------------------------------------------------------------ [2003-12-18 03:29:28] sniper@php.net Definately not PHP bug. ------------------------------------------------------------------------ [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

« previous php.bugs (#52252) next »