ID:               16283
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

reclassified

------------------------------------------------------------------------

[2002-03-26 06:23:47] [EMAIL PROTECTED]

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

Reply via email to