|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-26 07:46 UTC] martynas at venck dot us
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 21:00:01 2025 UTC |
Description: ------------ mod_htscanner.c does not compile apxs2 (Apache 2.2.17) Fix: #include "httpd.h" #include "http_config.h" #include <stdio.h> module AP_MODULE_DECLARE_DATA htscanner_module; static const char *dummy(cmd_parms *cmd, void *config, const char *arg) { return (NULL); } static command_rec htscanner_cmds[] = { AP_INIT_ITERATE("php_flag", dummy, NULL, OR_OPTIONS, "PHP Flag Modifier"), AP_INIT_ITERATE("php_value", dummy, NULL, OR_OPTIONS, "PHP Value Modifier"), { NULL } }; module AP_MODULE_DECLARE_DATA htscanner_module = { STANDARD20_MODULE_STUFF, NULL, /* dir config creater */ NULL, /* dir merger --- default is to override */ NULL, /* server config */ NULL, /* merge server config */ htscanner_cmds, /* command apr_table_t */ NULL /* register hooks */ }; Expected result: ---------------- mod_htscanner compile for Apache 2 (2.2.17 and future) Actual result: -------------- mod_htscanner does not compile for Apache 2 (2.2.17)