[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldap with Php



Ok, I sorry, the directory is /usr/local/include

ls /usr/local/include
ldap.h

I compiled with the options:

./configure --with-ldap --includedir=/usr/local/include --with-apxs=/usr/local/apache/bin/apxs
make
make install
cp php.ini-dist /usr/local/lib/php.ini


Php is ok. But when I restart apache...

/usr/local/apache/bin/apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: ldap_value_free
/usr/local/apache/bin/apachectl start: httpd could not be started


The line 205 of httpd.conf is:
LoadModule php4_module        libexec/libphp4.so

Any ideas ?

Thank's.

Php-4.2.3
OpenLDAP-2.0.27
Apache-1.3.27

Quanah Gibson-Mount wrote:



--On Friday, March 07, 2003 5:14 PM -0300 Marcone Luis Theisen <marcone@univates.br> wrote:

Hi,

when I compiling the php-4.3.2 with ldap support I received the message:

./configure --with-ldap=/usr/local/include/

checking for LDAP support... yes
configure: error: Cannot find ldap.h


but...

# ls /usr/local/libexec/
ldap.h


Like most sane programs, it is probably looking for ldap.h in /usr/local/include


ls /usr/local/include/ldap.h /usr/local/include/ldap.h

--Quanah



--
Quanah Gibson-Mount
Senior Systems Administrator
ITSS/TSS/Computing Systems
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html