1 /* 2 +----------------------------------------------------------------------+ 3 | Copyright (c) The PHP Group | 4 +----------------------------------------------------------------------+ 5 | This source file is subject to version 3.01 of the PHP license, | 6 | that is bundled with this package in the file LICENSE, and is | 7 | available through the world-wide-web at the following url: | 8 | https://www.php.net/license/3_01.txt | 9 | If you did not receive a copy of the PHP license and are unable to | 10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 13 | Authors: Sascha Schumann <sascha@schumann.cx> | 14 | Parts based on Apache 1.3 SAPI module by | 15 | Rasmus Lerdorf and Zeev Suraski | 16 +----------------------------------------------------------------------+ 17 */ 18 19 #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS 20 21 #include "php.h" 22 #ifdef strcasecmp 23 # undef strcasecmp 24 #endif 25 #ifdef strncasecmp 26 # undef strncasecmp 27 #endif 28 #include "php_apache.h" 29 30 AP_MODULE_DECLARE_DATA module php_module = { 31 STANDARD20_MODULE_STUFF, 32 create_php_config, /* create per-directory config structure */ 33 merge_php_config, /* merge per-directory config structures */ 34 NULL, /* create per-server config structure */ 35 NULL, /* merge per-server config structures */ 36 php_dir_cmds, /* command apr_table_t */ 37 php_ap2_register_hook /* register hooks */ 38 }; 39