?
Solved

php configuration probleme: unable to find httpd.h

Posted on 2006-06-12
2
Medium Priority
?
1,558 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
sleep_furiously earned 1596 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

752 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