php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10670 Compile as Apache 2.0 module fails
Submitted: 2001-05-04 12:22 UTC Modified: 2001-05-04 14:26 UTC
From: mike at vtracks dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Linux 2.4.4
Private report: No CVE-ID: None
 [2001-05-04 12:22 UTC] mike at vtracks dot com
When compileing PHP 4.0.5 as an Apache 2.0.16 module
the following errors occour:

...
...
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: too many arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter' from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
...
...

PHP was configured with the following options:

./configure --with-apxs2=/path/to/apache2/bin/apxs --with-mysql --enable-sysvsem --enable-sysvshm --enable-track-vars

Apache 2.0.16 was configured with the following options:

./configure --prefix=/path/to/apache2 --enable-so --with-mpm=threaded 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-04 14:26 UTC] sas@php.net
You need a newer Apache version then.  PHP contains the latest API changes of Apache 2.0. You might want to try an Apache 2.0 snapshot as available from http://dev.apache.org/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC