Re: Not able to install PHP with LDAP

From: Date: Tue, 20 Mar 2001 13:05:15 +0000
Subject: Re: Not able to install PHP with LDAP
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2522@lists.php.net to get a copy of this message
On Tue, 20 Mar 2001, Bernd Muent wrote: >It seems that the ldap-functions are not integrated into PHP4 as a standard. No. They need external libraries to work. e.g. OpenLDAP. (www.openldap.org) >When I start a php-Page with an ldap_connect etc. in it, the Error: >Undefined Function ldapbind occurs.. >Then I went to my PHP-Sourcecode-Directory and did: >./configure --with-ldap You created a CGI binary this way. What you should do, is to add --with-apxs into your configure line. And delete config.cache before configure..and after configure do 'make clean ; make ; make install' And you do have the openldap libraries installed in your system? --Jani

« previous php.install (#2522) next »