Solved

php configuration probleme: unable to find httpd.h

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

724 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