apache2 + php4.3.0-dev (ZE2) alpha2
| From: | A. Chorbadjiev | Date: | Thu, 04 Jul 2002 15:04:26 +0000 |
| Subject: | apache2 + php4.3.0-dev (ZE2) alpha2 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-5591@lists.php.net to get a copy of this message | ||
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
Attachment: [application/octet-stream] sapi_apache2.c.diff
Attachment: [application/octet-stream] sapi_apache2.c.diff