|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9717 configure script looks for httpd.h in wrong place in Apache Source tree
Submitted: 2001-03-12 20:48 UTC Modified: 2001-03-13 23:32 UTC
From: csburris at ci dot tacoma dot wa dot us Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.4pl1 OS: solaris 7
Private report: No CVE-ID: None
 [2001-03-12 20:48 UTC] csburris at ci dot tacoma dot wa dot us
run configure with 
./configure --with-apache=/sysadmin/webdev/apache/apache_1.3.19

configure: error: Invalid Apache directory - unable to find httpd.h under /sysadmin/webdev/apache/apache_1.3.19
looking at the configure script, it looks for includes under the apache 1.3.x  tree at  $withval/src/main/httpd.h which should be $withval/src/include/httpd.h and sets the APACHE_INCLUDE variable to "-I$withval/src/main, etc"  the httpd.h and other apache includes are in ./src/include subdirectory under the Apache directory.

I was able to make it compile by hand-editing configure to replace main with include


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-13 23:32 UTC]
Works for me just fine with the same versions of Apache and PHP you are trying. Please get fresh sources of both
and follow the instructions given in INSTALL.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 04:03:45 2023 UTC