Bug #16283 Updated: php fails to compile for apache 2.0.32

From: Date: Tue, 26 Mar 2002 13:31:28 +0000
Subject: Bug #16283 Updated: php fails to compile for apache 2.0.32
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3383@lists.php.net to get a copy of this message
ID: 16283 Updated by: lazy@server.gwsh.gda.pl Reported By: lazy@server.gwsh.gda.pl -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: Linux PHP Version: 4.1.2 New Comment: 4.1.2 has apache2filter i fixed it and it compilled and hello world worked i tryed 4.2 it also fails " sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:473: `AP_FTYPE_RESOURCE' undeclared (first use in this function) sapi_apache2.c:473: (Each undeclared identifier is reported only once " but the ap_get_brigade() function is fixed but the php_input_filter() also changed Previous Comments: ------------------------------------------------------------------------ [2002-03-26 07:58:29] sander@php.net AFAIK, 4.1.2 can't compile at all with Apache 2. Can you try 4.2.0RC1 and see if it works? ------------------------------------------------------------------------ [2002-03-26 07:15:43] sniper@php.net reclassified ------------------------------------------------------------------------ [2002-03-26 06:23:47] lazy@server.gwsh.gda.pl php 4.1.2 fails to compile for apache 2.0.32 in sapi/apache2filter/sapi_apache2.c in php_input_filter function ap_get_brigade() has wrong set of arguments i changed it to f->next,bb,mode,APR_BLOCK_READ,* readbytes it compiles and runs but i doubt is it correct php configured with ./configure --with-apxs2=/usr/local/apache2/bin/apxs ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16283&edit=1

« previous php.bugs (#3383) next »