And here it is...
Mr. Himanshu Soni wrote that he received this error when using php 4.2.3 and apache 2.0.39 on Linux:
....
sapi_apache2.c: In function php_register_hook':
sapi_apache2.c:567: incompatible type for argument 3 ofap_register_output_filter'
sapi_apache2.c:567: too many arguments to function
ap_register_output_filter'
sapi_apache2.c:568: incompatible type for argument 3 ofap_register_input_filter'
sapi_apache2.c:568: too many arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
....
Some people using PHP 4.2.2 and Apache 2.0.39 also said that they are receiving the same errors. To solve this porblem he changed two lines in function php_register_hook(apr_pool_t *p) in sapi_apache2.c near line 567 (this function may be near line 534 if using php 4.2.2):
from
ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOURCE);
ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURCE);
to
ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
Here function call was made with four arguments when only three were required. These problems arise when using incompatible versions of PHP and Apache.