Compiling Apache Module, missing Header files?
| From: | Thaddeus J. Quintin | Date: | Thu, 22 Jan 2004 16:43:58 +0000 |
| Subject: | Compiling Apache Module, missing Header files? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175432@lists.php.net to get a copy of this message | ||
I'm trying to get php 4.3.4 installed as a module for Apache 1.3.28. I have apache unzipped/untarred and I ran the ./configure script for it (per the instructions in the PHP install). I then configured php with the following line-
$ ./configure --with-mysql=/usr/local/mysql \
--with-apache=/usr/local/src/apache_1.3.28
and then
$ make install
This works fine. I then go back to the apache directory and run
$ ./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
Also fine, but when I run 'make' on apache, I get the following error-
===> src/modules/php4
gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT
-I../../lib/expat-lite -DNO_DL_NEEDED ../../apaci mod_php4.c
mod_php4.c:22: php_apache_http.h: No such file or directory
*** Error code 1
Stop in /usr/local/src/apache_1.3.28/src/modules/php4.
I found the 'php_apache_http.h' in the php source directory, but copying that into the apache module directory didn't accomplish anything but create new errors.
I'm installing on FreeBSD 4.9. Anything I else I should be trying?
Thaddeus