php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16470 apache 2.0 support failes
Submitted: 2002-04-07 07:16 UTC Modified: 2002-04-07 10:18 UTC
From: holly at phren dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.2 OS: linux-2.4.0
Private report: No CVE-ID: None
 [2002-04-07 07:16 UTC] holly at phren dot net
I get the following error during 'make', when I try to install with --apxs2 option. I specified the full path to the apxs-script. I have tested it with php-4.1.2 and php-4.2.0RC1. Both versions show the same error.

/bin/sh /usr/local/src/php-4.2.0RC1/libtool --silent --mode=compile gcc  -I. -I/usr/local/src/php-4.2.0RC1/sapi/apache2filter -I/usr/local/src/php-4.2.0RC1/main -I/usr/local/src/php-4.2.0RC1 -I/usr/local/apache/2.0.35/include -I/usr/local/src/php-4.2.0RC1/Zend -I/usr/local/mysql/4.0.1-alpha/include/mysql -I/usr/local/src/php-4.2.0RC1/ext/xml/expat  -D_REENTRANT -I/usr/local/src/php-4.2.0RC1/TSRM -g -O2 -pthread -DZTS -prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:58: too few arguments to function `apr_brigade_create'
sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create'
sapi_apache2.c: In function `php_apache_sapi_flush':
sapi_apache2.c:174: too few arguments to function `apr_brigade_create'
sapi_apache2.c:175: too few arguments to function `apr_bucket_flush_create'
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:257: too few arguments to function `apr_brigade_create'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:331: too few arguments to function `apr_brigade_create'
sapi_apache2.c:386: too few arguments to function `apr_bucket_transient_create'
sapi_apache2.c:395: too few arguments to function `apr_bucket_eos_create'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.0RC1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.0RC1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.0RC1/sapi'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-07 07:20 UTC] sander@php.net
4.1.x doesn't support Apache 2.
4.2.0 will.
 [2002-04-07 10:04 UTC] holly at phren dot net
well, as you see, I already tried 4.2.0RC1. and why is there a --apxs2 option, wehen pp doesn't support it?

another note to my problem: I tried it with apache 2.0.35.
 [2002-04-07 10:18 UTC] sander@php.net
It was broken until 4.2.0RC3. RC3 will be released soon.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 03 00:00:01 2026 UTC