[Date Prev][Date Next]
Re: Ldap with Php
--On Friday, March 07, 2003 7:31 PM -0300 Marcone Luis Theisen
Ok, I sorry, the directory is /usr/local/include
I compiled with the options:
./configure --with-ldap --includedir=/usr/local/include
cp php.ini-dist /usr/local/lib/php.ini
Php is ok. But when I restart apache...
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 ?
What is the output from ldd libphp4.so?
It may be linked against a library it can't find by default. Not sure how
you set the library path for Apache, although if you are starting it with a
shell script, you could put
to make sure it looks in /usr/local/lib for the ldap libraries.
Senior Systems Administrator
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html