php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16468 sapi_apache.c errors
Submitted: 2002-04-06 15:57 UTC Modified: 2002-04-06 16:19 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: no at internet dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.2 OS: RH Linux 7.0
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: no at internet dot com
New email:
PHP Version: OS:

 

 [2002-04-06 15:57 UTC] no at internet dot com
Hey,

I've just tried to compile Apache v2.0 with PHP later on, here's what I did:

# apache v2
./configure \
	--with-port=90 \
	--enable-ssl \
	--disable-status \
	--enable-vhost-alias \
	--enable-so

make
make install

cd /usr/src/new/php-4.2.0RC2

# php stuff ...
./configure \
	--with-mysql \
	--enable-force-cgi-redirect \
	--with-apxs2=/usr/local/apache2/bin/apxs

make
...
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] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/new/php-4.2.0RC2/sapi/apache2filter?
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/new/php-4.2.0RC2/sapi/apache2filter?
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/new/php-4.2.0RC2/sapi?
make: *** [all-recursive] Fehler 1


Hmm, looks a bit buggy? ;-/


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-06 16:19 UTC] sander@php.net
Damn... that's the 10th report  today about this...
Anyway, PHP 4.1.x doesn't compile correctly with Apache 2.
This has been fixed in 4.2.0.
You can try RC3 from www.php.net/~derick (when it's released), RC2 has still the same bug.
 [2002-04-07 15:25 UTC] no at internet dot com
Sorry, I've been looking for help, googling for hours can make you sick ;-/

Can the search be improved with maybe an AND instead of an OR search? Would help ALOT I guess!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC