|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-31 04:24 UTC] hholzgra@php.net
[2002-09-05 20:04 UTC] davidkoopman at yahoo dot com
[2002-09-08 17:28 UTC] mose at ns dot cune dot edu
[2004-08-11 20:34 UTC] jfprado at mixmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 03:00:02 2025 UTC |
I have got a problem when bind to a ldap server software: apache_1.3.26 php-4.2.2 openldap-2.1.3 mysql-3.23.51 install: [mysql] ./configure --prefix=/usr/local/mysql make make install [openldap] env CPPFLAGS=-I/usr/local/BerkeleyDB.4.0/include LDFLAGS=-L/usr/local/BerkeleyDB.4.0/lib ./configure make make install [php] cd ../apache_1.3.26 ./configure cd ../php-4.2.2 ./configure --with-mysql --with-ldap --with-apache=../apache_1.3.26 make make install [apache] ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a make make install No errors report while install. here is my test program <?php echo "<h3>LDAP query test</h3>"; echo "Connecting ..."; $ds=ldap_connect("localhost"); echo "connect result is ".$ds."<p>"; if ($ds) { echo "Binding ..."; $r=ldap_bind_s($ds); // this is an "anonymous" bind, typically // read-only access echo "Bind result is ".$r."<p>"; ?> and I got a error message below: Warning: LDAP: Unable to bind to server: Protocol error in /home/httpd/html/test.php any idea?