I'm trying to install PHP 4.0.1 with mySQL 3.22.32 apache 1.3.12 preinstalled on Red Hat 6.2
I run the following
./configure \
--with-mysql=/usr/lib/mysql \
--with-apache=/usr/lib/apache \
--enable-track-vars
or
./configure \
--with-mysql=/usr/lib/mysql \
--with-apache=/usr/include/apache \
--enable-track-vars
or with any other Apache directory
and I get
configure: error: Invalid Apache directory - unable to find httpd.h under /usr/include/apache/
The PHP FAQs address this and say the ./configure needs to be directed to the top level of the Apache source tree. The only Apache directories I have are /usr/lib/apache, /usr/include/apache, /etc/webmin/apache and /usr/libexec/webmin/apache...
and httpd.h is at /usr/inclued/apache/httpd.h
What gives? Do I need to yank the Red Hat preinstall of Apache and reinstall it the 'real' way with the tarball?