You are here: Re: can't install PHP - keep getting "Invalid directory" error regarding the path to Apache httpd.h « PHP Programming Language « IT news, forums, messages
Re: can't install PHP - keep getting "Invalid directory" error regarding the path to Apache httpd.h

Posted by Jerry Stuckle on 06/25/06 01:31

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.

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.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация