PHP Apache Build Problem
| From: | pw | Date: | Fri, 16 Jan 2004 18:21:41 +0000 |
| Subject: | PHP Apache Build Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174860@lists.php.net to get a copy of this message | ||
Hello,
I am trying to build php-4.3.3 into apache_1.3.28 as a module.
I configure php
--with-apache=/apache/source/path
and the php make process puts the source for mod_php4 into
/apache/source/path/src/modules/php4/
/apache/source/path/src/include/ap_config.h:77:28: ap_config_auto.h: No such
file or directory
I then configure apache with:
./configure --prefix=/usr/local/apache --add-module=src/modules/php4/mod_php
4.c
The apache autoconf configure script generates a Makefile with no errors.
When I try to build apache with 'make' everything compiles fine until the
build of mod_php4 comes up.
Make complains that it can't find headers:
===> src/modules/extra
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DUSE_HSREGEX -DUSE_EXP
AT -I../../lib/expat-lite -DNO_DL_NEEDED
../../apaci mod_php4.c
mod_php4.c:22:29: php_apache_http.h: No such file or directory
In file included from mod_php4.c:23:
What's wrong with my build?
Thanks for any info.
Peter