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

From: Date: Wed, 10 Apr 2002 11:06:55 +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-4528@lists.php.net to get a copy of this message
ID: 16283 Updated by: klansman@arrakis.dhis.org Reported By: lazy@server.gwsh.gda.pl Status: Bogus Bug Type: Apache2 related Operating System: Linux PHP Version: 4.1.2 New Comment: I tried to compile php 4.1.2 with to apache 2.0.35 (non beta according to httpd.apache.org) It fails because of the reasons described in this bug. Someone (lazy@server.gwsh.gda.pl) told here that had php code fixed... Can you send the diffs? So i can try to compile the beast?? Thank you! Previous Comments: ------------------------------------------------------------------------ [2002-03-31 21:00:22] yohgaki@php.net Apache2filter SAPI is _experimental_ and there is no stable Aapche2 neither. PHP 4.1.2 comples with Apache 2.0.28. IIRC. If you are using CVS version of PHP, user CVS version of Apache2. ------------------------------------------------------------------------ [2002-03-31 20:06:36] didier.link@wanadoo.fr I've changed the AP_FTYPE_RESOURCE for AP_FTYPE_CONTENT and apache2 freeze without debug messages in error.log (config changed fr enable debug messages but nothing ...). Wait for apache or/and php next beta release ?! ------------------------------------------------------------------------ [2002-03-26 08:47:07] lazy@server.gwsh.gda.pl 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 ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16283 -- Edit this bug report at http://bugs.php.net/?id=16283&edit=1

« previous php.bugs (#4528) next »