ID:               15580
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Apache2 related
 Operating System: Debian 3.0
 PHP Version:      4.0CVS-2002-02-15
 New Comment:

You need latest CVS versions of both PHP and Apache2.
As you propably know, Apache2 is still beta and a moving target..



Previous Comments:
------------------------------------------------------------------------

[2002-03-11 23:22:11] [EMAIL PROTECTED]

same with Slackware 8.0 + fixes
PHP 4.1.1, 4.1.2, Apache 2.0.32, Linux 2.4.18

Making all in sapi
make[1]: Entering directory `/usr/src/php-4.1.2/sapi'
Making all in apache2filter
make[2]: Entering directory `/usr/src/php-4.1.2/sapi/apache2filter'
make[3]: Entering directory `/usr/src/php-4.1.2/sapi/apache2filter'
/bin/sh /usr/src/php-4.1.2/libtool --silent --mode=compile
/usr/src/php-4.1.2/meta_ccld  -I.
-I/usr/src/php-4.1.2/sapi/apache2filter -I/usr/src/php-4.1.2/main
-I/usr/src/php-4.1.2 -I/usr/local/apache2/include
-I/usr/src/php-4.1.2/Zend -I/usr/src/php-4.1.2/ext/mysql/libmysql
-I/usr/src/php-4.1.2/ext/xml/expat  -D_REENTRANT
-I/usr/src/php-4.1.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic 
-c sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards qualifiers from
pointer target type
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:247: incompatible type for argument 4 of
`ap_get_brigade'
sapi_apache2.c:247: too few arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:408: warning: passing arg 2 of
`ap_register_input_filter' from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.1.2/sapi'
make: *** [all-recursive] Error 1

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

[2002-02-25 04:35:01] [EMAIL PROTECTED]

Same problem with apache 2.0.32 and php 4.1.1 on RedHat 7.2 (
kernel2.4.13).

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

[2002-02-22 16:32:44] [EMAIL PROTECTED]

Wish I had a sollution but I can only make things worse:

Apache2.0.32(the released beta) and PHP4.1.1 give the same error...

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

[2002-02-15 18:12:13] [EMAIL PROTECTED]

Okay, here we go:

since 2.0.28 didn't work, I tried to compile PHP 20020215 with
2.0.32-alpha and it did at least compile ;-) But this led into another
problem. Starting Apache succeeds without php module loaded, but leads
to strange behaviour if the module has been enabled. It's hard to
explain: the main Apache process is started, but doesn't create any
child processes or threads. It doesn't react to signals, nor responds
to telnet requests.

Hmm, so I took the latest Apache CVS and simplified all configure
options. Same result.

I've no idea where to search for any hints on how to solve this. I know
that Apache 2 support in PHP is still under heavy development, but any
hints 'd be appreciated. Please let me know if I shall provide further
information.

Summary:
Apache latest CVS, vanilla config with php4 enabled
Configure options:
  --with-mpm=worker \
  --prefix=/usr/local/ap2 \
  --enable-module=so
PHP latest CVS, configure options:
  --with-apxs2=/usr/local/ap2/bin/apxs
GNU ld version 2.11.92.0.12.3 20011121 Debian/GNU Linux
gcc 2.95.4
ltmain.sh (GNU libtool) 1.4.2a (1.922.2.79 2001/11/28 21:50:31)

TIA
Victor


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

[2002-02-15 15:57:15] [EMAIL PROTECTED]

Try the latest CVS version of Apache2 as well.  I built 2 days ago
without a problem.  Let me know if that helps.

Sean

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

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/15580

-- 
Edit this bug report at http://bugs.php.net/?id=15580&edit=1

Reply via email to