Re: ./onfigureing php
| From: | Unknown Sender | Date: | Tue, 25 Jun 2002 20:33:05 +0000 |
| Subject: | Re: ./onfigureing php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103843@lists.php.net to get a copy of this message | ||
On Tue, Jun 25, 2002 at 03:33:28PM -0400, openldap@liveperson.net 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