Entry
Configure can't find httpd.h yet it is where I said it is. I tried changing the path to httpd.h but that didn't work.
Jun 29th, 2003 09:47
suresh kc, Elizabeth Olule, Onno Benschop,
I found the same problem. tried everything from search engine nothing
worked.
what i noticed though is - apache1.2* has src/include folder
apache 1.2*
/usr/local/apache/src/include/httpd.h
so it also tries to look at whatever top apache directory name you
gave, followed by src/include
If your path was /usr/local/apache2/
then it tries to look for httpd.h file
in /usr/local/apache2/src/include/
but apache2 doesn't have that folder
hence the error.
here is the solution
cd /usr/local/apache2/
mkdir src
cd src
mkdir include
cd ..
cp include/*.* src/include/
then go back to php folder.
then write the command
./configure --with-apache=/usr/local/apache2/
Done!