Solved

php configuration probleme: unable to find httpd.h

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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