Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001122

[PHP-DEV] Bug #14610 Updated: configure script looks in the wrong place for httpd.h From: sander <email protected>
Date: 12/20/01

ID: 14610
Updated by: sander
Reported By: aaron <email protected>
Old Status: Open
Status: Bogus
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.1.0
New Comment:

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.

Previous Comments:
------------------------------------------------------------------------

[2001-12-19 18:20:19] aaron <email protected>

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.

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=14610&edit=1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>