Problem compiling php 4.0.4pl with IBM HTTP Server
| From: | Manu Bumb | Date: | Tue, 04 Dec 2001 21:26:11 +0000 |
| Subject: | Problem compiling php 4.0.4pl with IBM HTTP Server | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5194@lists.php.net to get a copy of this message | ||
I'm trying to get PHP compiling with IBM HTTP Server
and their version of apache - 1.3.20 I believe. I'm
running on RH7.1. When I try to compile, I get the
following error:
php_apache.c: In function `php_info_apache':
php_apache.c:194: `SERVER_VERSION' undeclared (first
use in this function)
php_apache.c:194: (Each undeclared identifier is
reported only once
php_apache.c:194: for each function it appears in.)
make[4]: *** [php_apache.lo] Error 1
I've looked around, and in the apache src,
SERVER_VERSION is in fact defined in
src/include/httpd.h. Has anyone seen this before? Is
there something I can pass to the configure command to
make sure it picks up that definition? I tried adding
a "#ifdef SERVER_VERSION...." around that line in
php_apache.c, and that worked, but I'd rather find a
way to get it to work without having to patch the
original code. Thanks!
-Manu Bumb
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com