From: Laurent Larquère <[EMAIL PROTECTED]> To: alex stinson <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP-INST] Re: php 4.2.2, apache 2.0.40 make problem from source Date: Fri, 16 Aug 2002 01:23:30 +0200
i have inserted a simple NULL as third argument and all goes well (Sol8/Sparc) alex stinson wrote: >i think i might have found why it might not be working (im not really a >good coder yet, so this was more of a look around for things that could >cause it, and browsed the apache code)...it seems that >ap_register_input_filter, and ap_register_output_filter are missing >arguments... >in the apache source, under include/util_filter.h >is: >AP_DECLARE(ap_filter_rec_t *) ap_register_input_filter(const char *name, >ap_in_filter_func filter_func, ap_init_filter_func filter_init, >ap_filter_type ftype); >so its declared with 4 arguments, but in sapi_apache2.c >(php-4.2.2/sapi/apache2filter/sapi_apache2.c, line 534+), it only is: >ap_register_input_filter("PHP",php_input_filter,AP_FTYPE_RESOURCE); > >so, to anyone who actually knows what they are doing, what exactly is >supposed to be inbetween the 'php_input_filter', and 'AP_FTYPE'? above says >'ap_init_filter_func', but i have no idea what that is > >--Pete Rippe > > >From: "Daniel Eckstein" <[EMAIL PROTECTED]> >To: "Alex Stinson" <[EMAIL PROTECTED]> >Subject: Re: php 4.2.2, apache 2.0.40 make problem from source >Date: Thu, 15 Aug 2002 22:46:55 +0200 > >Hi, > >this is correctly the same, what is happening to me >on a solaris 8 box. > >Regards, >Tweeg > >----- Original Message ----- >From: "Alex Stinson" <[EMAIL PROTECTED]> >Newsgroups: php.install >To: <[EMAIL PROTECTED]> >Sent: Tuesday, August 13, 2002 7:11 AM >Subject: php 4.2.2, apache 2.0.40 make problem from source > > > > hey, i have a small problem, and i'm not exactly sure how to work around >it > > involving php4.2.2, and apache 2.0.40 > > > > uname -a: > > FreeBSD wsip68-15-48-50.ri.ri.cox.net 4.6-RELEASE FreeBSD 4.6-RELEASE >#0: > > Tue Jun 11 06:14:12 GMT 2002 > > [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 > > > > The result of running make after configuring an almost clean source > > (modifyed only the AP_MODULE_MAGIC code that needs to be changed to work > > with apache2) with the following: > > ./configure --with-tsrm-pth --with-mysql --with-apxs2=/usr/www/bin/apxs > > everything worked fine until i upgraded to apache 2.0.40 (actually, just > > removed the entire /usr/www directory after a problem)... > > > > Making all in apache2filter > > /bin/sh /usr/php-4.2.2/libtool --silent --mode=compile gcc -I. > > -I/usr/php-4.2.2/sapi/apache2filter -I/usr/php-4.2.2/main >-I/usr/php-4.2.2 > > -I/usr/www/include -I/usr/php-4.2.2/Zend >-I/usr/php-4.2.2/ext/mysql/libmys >ql > > -I/usr/php-4.2.2/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE > > -I/usr/php-4.2.2/TSRM -I/usr/local/include -DTHREAD=1 -g -O2 -pthread >-DZT >S > > -prefer-pic -c sapi_apache2.c > > sapi_apache2.c: In function `php_register_hook': > > sapi_apache2.c:534: warning: passing arg 3 of >`ap_register_output_filter' > > makes pointer from integer without a cast > > sapi_apache2.c:534: too few arguments to function > > `ap_register_output_filter' > > sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter' > > makes pointer from integer without a cast > > sapi_apache2.c:535: too few arguments to function >`ap_register_input_filter' > > *** Error code 1 > > > > Stop in /usr/php-4.2.2/sapi/apache2filter. > > *** Error code 1 > > > > Stop in /usr/php-4.2.2/sapi/apache2filter. > > *** Error code 1 > > > > Stop in /usr/php-4.2.2/sapi. > > *** Error code 1 > > > > Stop in /usr/php-4.2.2. > > > > > > _________________________________________________________________ > > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > > > >_________________________________________________________________ >Send and receive Hotmail on your mobile device: http://mobile.msn.com > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php