Click to See Complete Forum and Search --> : apache is running, but no httpd.h


Anon
09-08-2001, 04:26 PM
I am very new to all this...

I have apache running, because I am able to view my index.htm page from my other machine.

I am now trying to install php4, and it is unable to find 'httpd.h'. I went to the outer-most directory, and typed:
find -name "httpd.h"
...and it did not find the file. I assume that means I don't have one anywhere in my Linux machine.

Why would this be? Any ideas for a solution? Thanks so much!!!!

-Mac

brandonschnell
09-09-2001, 07:52 PM
my guess is that you need to install the apache-dev rpm for your version of apache.

Anon
01-16-2002, 08:35 AM
I'm guesing that like me you downloaded the binaries for apache and got it up and running like that. In which case you have no apache/src directory so therefore no httpd.h file so no php configuration

As a filthy hack of a solution i downloaded the apache src gunzipped and untarred it. then i copied the apache/src/include/httpd.h file across to where i had my original binaries and hey presto i suckerred php in configuring.

I suppose i should really abandon the apache binaries and install apache from source but i just spent 2 days installing the binaries so the idea of installing from src doesn't float my boat.