PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #14610 configure script looks in the wrong place for httpd.h
Submitted:19 Dec 2001 6:20pm UTC Modified: 20 Dec 2001 7:22am UTC
From:aaron at bigmouse dot net Assigned to:
Status:Bogus Category:Apache2 related
Version:4.1.0 OS:Linux
View/Vote Developer Edit Submission

Welcome! If you don't have a SVN account, you can't do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
SVN Username: SVN Password:
Quick Fix:
Status: Assign to:
Category:
Summary:
From: aaron at bigmouse dot net
New email:
Version: OS:
New/Additional Comment:

[19 Dec 2001 6:20pm UTC] aaron at bigmouse dot net
I'm trying to configure php 4.1.0 on my server running turbolinux 6.0
with Apache 2.0.28

By default Apache 2.0.x installs to /usr/local/apache2

php 4.1.0 configure --with-apache defaults to /usr/include/apache

no biggy, I do configure --with-apache=/usr/local/apache2
but it still can't find httpd.h

I have a look at configure and it's looking for httpd.h like this 
    # For Apache 2.0.x
    elif test -f $withval/src/include/httpd.h &&
Which doesn't exist because httpd.h is in /usr/local/apache2/include/

I know perl pretty good, but I don't have a lot of experience with
regular old shell scripting.

I've done a little hacking of the configure script to correct this, but
it's still not working right as I've most likely missed something of did
something wrong in my hacking.

[20 Dec 2001 7:22am UTC] sander@php.net
If you want to compile PHP as a static module (that's what you're
trying) you should point PHP to the source of Apache, not to the
installation dir.

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC