HOW TO INSTALL
- Get the latest Apache 2.0 alpha or the CVS code and install it.
+ Get the latest Apache 2.0 sources from CVS and install it. This
+ SAPI module is known to work with Apache 2.0.34-dev.
$ cd apache-2.x
$ cd src
{
ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
- ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_CONTENT);
- ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_CONTENT);
+ ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
+ ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
}
AP_MODULE_DECLARE_DATA module php4_module = {