php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18089 compile failure apache 2
Submitted: 2002-07-01 10:42 UTC Modified: 2002-07-01 11:00 UTC
From: mw at suk dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0CVS-2002-07-01 OS: RedHat Linux 7.3
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: mw at suk dot net
New email:
PHP Version: OS:

 

 [2002-07-01 10:42 UTC] mw at suk dot net
Compiled using Apache v2.0.39 and following configure line:

./configure \
        --prefix=/usr/server \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-mbstring \
        --enable-sockets \
        --with-apxs2=/usr/server/bin/apxs \
        --with-config-file-path=/data/apache/conf \
        --with-mysql=/usr \
        --without-pear

Output:
...
/bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/ -I/usr/src/server/php4-200207010000/sapi/apache2filter/ -DPHP_ATOM_INC -I/usr/src/server/php4-200207010000/include -I/usr/src/server/php4-200207010000/main -I/usr/src/server/php4-200207010000 -I/usr/server/include -I/usr/src/server/php4-200207010000/Zend -I/usr/include/mysql -I/usr/src/server/php4-200207010000/ext/xml/expat  -D_REENTRANT -I/usr/src/server/php4-200207010000/TSRM -g -O2 -pthread -DZTS  -prefer-pic -c /usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo 
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c: In function `php_register_hook':
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1
[root@tux php4-200207010000]# make install
/bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/ -I/usr/src/server/php4-200207010000/sapi/apache2filter/ -DPHP_ATOM_INC -I/usr/src/server/php4-200207010000/include -I/usr/src/server/php4-200207010000/main -I/usr/src/server/php4-200207010000 -I/usr/server/include -I/usr/src/server/php4-200207010000/Zend -I/usr/include/mysql -I/usr/src/server/php4-200207010000/ext/xml/expat  -D_REENTRANT -I/usr/src/server/php4-200207010000/TSRM -g -O2 -pthread -DZTS  -prefer-pic -c /usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo 
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c: In function `php_register_hook':
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1


Used the 200207010000 snapshot (php4-latest.tar.bz2) from snaps.php.net

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 11:00 UTC] sniper@php.net
You need latest CVS of Apache. 2.0.39 is too old.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 12:00:01 2026 UTC