|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-05 15:32 UTC] info at hvdata dot net
[2002-09-05 15:33 UTC] info at hvdata dot net
[2002-09-05 15:34 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 00:00:02 2025 UTC |
The function: ap_register_output_filter and ap_register_input_filter were failing to compile. After some looking I found that the functions were passed 3 arguements, but looking at the prototype from Apache 2.0.40 in util_filter.h the functions required 4 arguements: 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); But the code was calling: ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE); So I added: ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOURCE);