RE: [PHP-QA] apache2 + php4.3.0-dev (ZE2) alpha2
| From: | James Cox | Date: | Thu, 04 Jul 2002 17:11:26 +0000 |
| Subject: | RE: [PHP-QA] apache2 + php4.3.0-dev (ZE2) alpha2 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5593@lists.php.net to get a copy of this message | ||
can you please update your Apache version?
those functions take 4 parameters in Apache (from HEAD).
-- james
> -----Original Message-----
> From: A. Chorbadjiev [mailto:recbox@ins.bg]
> Sent: Thursday, July 04, 2002 4:04 PM
> To: php-qa@lists.php.net
> Subject: [PHP-QA] apache2 + php4.3.0-dev (ZE2) alpha2
>
>
> Hi all,
>
> I've just build apache2 and php4.3-dev (ZE2) alpha2 and there was
> an error:
>
> "
> /usr/local/src-build/php-4.3.0-dev-zend2-alpha2/sapi/apache2filter
> /sapi_apache2.c: In
> function `php_register_hook':
> /usr/local/src-build/php-4.3.0-dev-zend2-alpha2/sapi/apache2filter
> /sapi_apache2.c:567:
> incompatible type for argument 3 of `ap_register_output_filter'
> /usr/local/src-build/php-4.3.0-dev-zend2-alpha2/sapi/apache2filter
> /sapi_apache2.c:567:
> too many arguments to function `ap_register_output_filter'
> /usr/local/src-build/php-4.3.0-dev-zend2-alpha2/sapi/apache2filter
> /sapi_apache2.c:568:
> incompatible type for argument 3 of `ap_register_input_filter'
> /usr/local/src-build/php-4.3.0-dev-zend2-alpha2/sapi/apache2filter
> /sapi_apache2.c:568:
> too many arguments to function `ap_register_input_filter'
> "
>
> I've removed the NULL ( 3rd argument) in the the two function
> calls since the
> definitions of ap_register_(i|o)_filter functions doesn't need
> the NULL argument as
> far as I see in 'util_filter.h' .
> Diff is attached and compiles fine.
>
> Thanks,
> A. Chorbadjiev
>