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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike at vtracks dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 23:01:27 2025 UTC