On Tue, Jun 25, 2002 at 03:33:28PM -0400, [EMAIL PROTECTED] wrote: > 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 > --enable-track-vars > --with-imap=../imap-2001.RELEASE-CANDIDATE.1 > --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 > --with-snmp=/opt/ucd-snmp > > 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
Since openldap is installed in /usr/local/openldap2.0.15 you should use --with-ldap=/usr/local/openldap2.0.15 when configuring PHP. Stig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php