I am trying to configure php4.2.1 with following commands
on a Redhat 7.2 box

./configure --with-mysql --with-apache=../apache_1.3.20 
--with-config-file-path=/opt/apache --with-ldap=/usr/local 
--with-gd --with-jpeg-dir=/usr/local --with-jpeg 
--with-xpm-dir=/usr/local --with-xpm --with-ttf=/usr/local 

However i am getting the following error.
"configure: error: Cannot find ldap.h"

I have configured and comnpliled openldap-2.0.15 
with the following commands

./configure --prefix=/usr/local/openldap2.0.15 
--without-threads --enable-ldbm --with-ldbm_api-ndbm
make depend

and sucessfully tested it w/  the make test command.

any ideas how to correct the php configuration error?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to