Apache2 install grief
| From: | Tim Kay | Date: | Fri, 27 Apr 2001 12:30:16 +0000 |
| Subject: | Apache2 install grief | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2921@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to install 4.0.4pl1 as a module to apache 2.0.16beta and
failing miserably. Apache is built and running happily with DSO support
but PHP fails to compile using apxs2. Error messages relate to
php_apache.h and sapi_apache2.c (below) is this 'cause Apache2 has
changed so much since the alpha when php 2.0.4pl1 was released or am I
doing something wrong - there's nothing before line 24 in php_apache.h
aside from a declaration.
Thanks in adv
Tim
In file included from sapi_apache2.c:45:
php_apache.h:24: parse error before `ap_bucket_brigade'
php_apache.h:24: warning: no semicolon at end of struct or union
php_apache.h:32: parse error before `}'
php_apache.h:32: warning: type defaults to
int' in declaration of php_struct'
php_apache.h:32: warning: data definition has no type or storage class
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:49: `ap_bucket' undeclared (first use in this function)
sapi_apache2.c:49: (Each undeclared identifier is reported only once
sapi_apache2.c:49: for each function it appears in.)
sapi_apache2.c:49: `b' undeclared (first use in this function)