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

From: Date: Tue, 26 Mar 2002 13:47:08 +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-3386@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: Open Bug Type: Apache2 related Operating System: Linux PHP Version: 4.1.2 New Comment: maybe some one know how to use ap_get_brigade() in php ? i used APR_BLOCK_READ and changed bytelen from pointer to value there is sth in apaches change log about changing from pointer to value so this looks to be correct but what about APR_BLOCK_READ or APR_NONBLOCK_READ example filters in apache 2 use APR_BLOCK_READ so mayby it is correct ? there is no AP_FTYPE_RESOURCE in apaches sources Previous Comments: ------------------------------------------------------------------------ [2002-03-26 08:31:27] lazy@server.gwsh.gda.pl 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 ------------------------------------------------------------------------ [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 (#3386) next »