Posted by Jerry Stuckle on 06/25/06 13:42
lawrence k wrote:
> Jerry Stuckle wrote:
>
>>lawrence k wrote:
>>
>>>I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying
>>>to install PHP 5.1.4. I can not get the ./configure command to work. I
>>>keep getting this error:
>>>
>>>configure: error: Invalid Apache directory - unable to find httpd.h
>>>under /usr/local/apache/include
>>>
>>>So then I run this command:
>>>
>>>find / -name httpd.h
>>>
>>>which should find every file on my machine with the name "httpd.h".
>>>These are the results I get:
>>>
>>>/usr/local/apache/include/httpd.h
>>>/home/shelley/apache_1.3.36/src/include/httpd.h
>>>
>>>So I've rerun the ./configure command, using this first:
>>>
>>>--with-apache=/usr/local/apche/include
>>>
>>>and since that didn't work:
>>>
>>>--with-apache=/home/shelley/apache_1.3.36/src/include/httpd.h
>>>
>>>but I get the "Invalid directory" error with both addresses.
>>>
>>>What am I missing?
>>>
>>
>>Check the installation documentation. It's looking the base directory for
>>Apache - not the Apache include directory or an include file.
>
>
> I believe all the only installation documentation that exists is here:
>
> http://us3.php.net/manual/en/install.unix.php
>
> I've been trying to follow the directions closely, but with no luck.
>
>
>
>
>>You must also have the Apache development code installed on your system. Sorry,
>>I don't use RedHat so I don't know which RPM you need.
>
>
> I just downloaded the 1.3.36 source code 2 days ago and built Apache
> from scratch. That part seemed to go well. Since it is a brand new
> installation, I assume that everything I need is included. How would I
> check otherwise?
>
Did you check the directory where you decompressed the files? There are all
kinds of document files in there. Some of them even cover how to compile PHP.
You can even do ./configure --help to get a list of all options and their
parameters. I recommend redirecting the output to a file - as there are a lot
of options.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|