Bug #18204 Updated: Wrong calls of ap_register_output_filter and ap_register_input_filter functions
| From: | sniper@php.net | Date: | Sun, 07 Jul 2002 16:10:59 +0000 |
| Subject: | Bug #18204 Updated: 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-13383@lists.php.net to get a copy of this message | ||
ID: 18204
Updated by: sniper@php.net
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:
I just fixed the version check..you actually
need apache 2.0.40 (from CVS) with PHP 4.3.0-dev (from CVS)
Previous Comments:
------------------------------------------------------------------------
[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...
------------------------------------------------------------------------
[2002-07-07 06:43:12] krok@void.ru
/usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.39
Server built: Jul 6 2002 17:42:06
[krok@frost] /home/krok$ /usr/local/apache2/bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
[krok@frost] /home/krok$ /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.39
Server built: Jul 6 2002 17:42:06
Server's Module Magic Number: 20020612:1
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_FLOCK_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
[krok@frost] /home/krok$
------------------------------------------------------------------------
[2002-07-06 21:49:27] sniper@php.net
Please let me know the output of 'httpd -v'
------------------------------------------------------------------------
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