#18204 [Com]: Wrong calls of ap_register_output_filter and ap_register_input_filter functions
| From: | carl at bl dot echidna dot id dot au | Date: | Sat, 10 Aug 2002 03:16:09 +0000 |
| Subject: | #18204 [Com]: Wrong calls of ap_register_output_filter and ap_register_input_filter functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16418@lists.php.net to get a copy of this message | ||
ID: 18204
Comment by: carl@bl.echidna.id.au
Reported By: krok@void.ru
Status: Bogus
Bug Type: Compile Failure
Operating System: FreeBSD 4.6-RELEASE-p1 i386
PHP Version: 4CVS-2002-07-06
New Comment:
4.2.2 works just fine with apache 2.0.39 on OpenBSD 2.9...
Previous Comments:
------------------------------------------------------------------------
[2002-08-09 23:13:46] carl@bl.echidna.id.au
The funny thing is this has worked with 4.2.1 and
apache 2.0.36 and .39, but is now broken with
apache 2.0.40 and php 4.2.1 and 4.2.2, so the change
appears to have been made by apache, not PHP.
I've been running apache2 for some time, and PHP 4.2.x
has been great up 'til today when I'm trying to get
it running with 2.0.40. Looks like I'm backing out to
2.0.39 (cygwin problems don't apply to OpenBSD :) )
------------------------------------------------------------------------
[2002-07-07 12:10:59] sniper@php.net
I just fixed the version check..you actually
need apache 2.0.40 (from CVS) with PHP 4.3.0-dev (from CVS)
------------------------------------------------------------------------
[2002-07-07 08:08:53] krok@void.ru
I've decided to try latest CVS php because relase PHP 4.2.1 has failed
to compile :
....
/bin/sh /slave/distr/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/slave/distr/php-4.2.1/sapi/apache2filter
-I/slave/distr/php-4.2.1/main -I/slave/distr/php-4.2.1
-I/usr/local/apache2/include -I/slave/distr/php-4.2.1/Zend
-I/usr/local/include -I/usr/local/mysql/include/mysql
-I/usr/local/pgsql/include -I/slave/distr/php-4.2.1/ext/xml/expat
-D_REENTRANT -D_THREAD_SAFE -I/slave/distr/php-4.2.1/TSRM
-I/usr/local/include/pth -g -O2 -pthread -DZTS -prefer-pic -c
php_functions.c
php_functions.c:93: syntax error
*** Error code 1
Stop in /slave/distr/php-4.2.1/sapi/apache2filter.
*** Error code 1
Stop in /slave/distr/php-4.2.1/sapi/apache2filter.
*** Error code 1
Stop in /slave/distr/php-4.2.1/sapi.
*** Error code 1
Stop in /slave/distr/php-4.2.1.
Also, after configure there are following desclimer :
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| Apache 2 Support is EXPERIMENTAL and should NOT be used in |
| production environment. Before submitting bug reports, try the |
| latest CVS snapshot from http://snaps.php.net
|
May be it's time to release PHP with apache2 support ? 8-)
Thanks, anyway.
------------------------------------------------------------------------
[2002-07-07 06:52:08] derick@php.net
You need the latest versiono of Apache 2 if you want to use the latest
CVS version of PHP. The latest Apache 2 version is 2.0.40 CVS.
Derick
------------------------------------------------------------------------
[2002-07-07 06:47:27] krok@void.ru
When I've corrected source of sapi/apache2filter/sapi_apache2.c I've
compilled php successfullly.
I've tested apache2+php+mysql and all fine, IMHO...
------------------------------------------------------------------------
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/18204
--
Edit this bug report at http://bugs.php.net/?id=18204&edit=1