Solved

php configuration probleme: unable to find httpd.h

Posted on 2006-06-12
2
1,528 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 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

21 Experts available now in Live!

Get 1:1 Help Now