Re: Re: Bug #15580 Updated: sapi_apache2.c fails to compile with Apache
| From: | Jim Jagielski | Date: | Sat, 06 Apr 2002 16:59:43 +0000 |
| Subject: | Re: Re: Bug #15580 Updated: sapi_apache2.c fails to compile with Apache | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82212@lists.php.net to get a copy of this message | ||
Jani Taskinen wrote:
>
>
> Duh..I feel a bit stupid now. :)
> But I think the version with which PHP works is 2.0.36?
> (they released 2.0.35) (what is 'GA' release? General Alpha?)
>
General Availability
2.0.35 is the latest and the GA version; 2.0.36 is in development
as of 24 hours ago :)
> --Jani
>
>
> On 6 Apr 2002 sesser@php.net wrote:
>
> > ID: 15580
> > Updated by: sesser@php.net
> > Reported By: vfoitzik@gmx.net
> > Status: Closed
> > Bug Type: Apache2 related
> > Operating System: Debian 3.0
> > PHP Version: 4.0CVS-2002-02-15
> > New Comment:
> >
> >Hmmm Apache2 isn't a moving target anymore...
> >It was released today (wasn't it?)
> >
> >
> >
> >Previous Comments:
> >------------------------------------------------------------------------
> >
> >[2002-04-06 11:07:35] sniper@php.net
> >
> >You need latest CVS versions of both PHP and Apache2.
> >As you propably know, Apache2 is still beta and a moving target..
> >
> >
> >------------------------------------------------------------------------
> >
> >[2002-03-11 23:22:11] loop@nme.com
> >
> >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] cisacchi@cracantu.it
> >
> >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] puterwzzrd@hotmail.com
> >
> >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] vfoitzik@gmx.net
> >
> >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
> >
> >
> >------------------------------------------------------------------------
> >
> >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
> >
> >
>
> --
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
===========================================================================
Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/
"A society that will trade a little liberty for a little order
will lose both and deserve neither" - T.Jefferson