Solved

php configuration probleme: unable to find httpd.h

Posted on 2006-06-12
2
1,534 Views
Last Modified: 2008-01-09
Hi, I'am building a linux Fedora core 4 web server and I have a problem to install my php 5.1.4.

When I right the command: ./configure --with-mysql --with-config-file=/usr/local/apache/conf --with-apache=/usr/local/apache --enable-track-vars

PHP give me an error: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/apache

but the /usr/local/apache is my apache directory. The file httpd.h is located in .../apache/include and it's give me an error if I put /usr/local/apache/include in the configure comman. Anybody have an idea. Thx

Sorry for my english, iam french ;)

thx all
0
Comment
Question by:beatboxradio
2 Comments
 
LVL 10

Accepted Solution

by:
sleep_furiously earned 399 total points
ID: 16888118
It is looking for Apache source code tree, not for a path to installed binary executable Apache.

So, the directory you are using for "with-apache" should have a directory called "src" inside it.

Yes, the installed binary Apache has an "include" directory.  This is for use with apxs.  If you want to build with apxs instead of apache source, you should use "--with-apxs=/path/to/apxs" instead of "--with-apache=/path/to/apachesrc"

0
 
LVL 5

Author Comment

by:beatboxradio
ID: 16895948
thx for your help, but I formated my hard drive and reinstall it with a plan fedora version ;)
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now