faqts : Computers : Programming : Languages : PHP : Installation and Setup : Configure

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 5 people (40%) answered Yes
Recently 2 of 5 people (40%) answered Yes

Entry

RH9 Install: Neither ldap nor mysql have "install directories". What path is required in configure?

Dec 5th, 2004 21:21
Bill Tribley,


Check for missing backslashes - I missed one after --with-flatfile, so
my ldap and mysql settings were being ignored.

The configure script is looking for the lowest-level directory enclosing
both lib and include. So, in the case of ldap and mysql that do not have
separate install locations, use the generic ones listed below:

./configure \
 --with-apxs=/usr/local/apache/bin/apxs \
 --enable-force-cgi-redirect \
 --enable-discard-path \
 --with-openssl=/usr/local/ssl \
 --enable-dba --with-db4 --with-inifile --with-flatfile \
 --with-ldap=/usr/local \
 --enable-mbstring \
 --with-mysql=/usr/ \
 --enable-sockets \