summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/sapi_apache2.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-03-29 04:52:46 +0000
committerSterling Hughes <sterling@php.net>2003-03-29 04:52:46 +0000
commit3f700e58abaa78ec2b4eca749906bcea80a121bf (patch)
tree7a15d6e397bfc69d2d504b159c5a23253b7d06f1 /sapi/apache2handler/sapi_apache2.c
parent789b0a83f063f7f009192294d40a33f40c6ea0dc (diff)
downloadphp-git-3f700e58abaa78ec2b4eca749906bcea80a121bf.tar.gz
update php module name to php5, not php4.
apache, apache2* and cli/cgi work. sapi module maintainers should fix up their sapis, as I don't run any servers with php outside of apache.
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
-rw-r--r--sapi/apache2handler/sapi_apache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 9f0336ae1a..f99cc5c9b7 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -449,7 +449,7 @@ static int php_handler(request_rec *r)
request_rec *parent_req = NULL;
TSRMLS_FETCH();
- conf = ap_get_module_config(r->per_dir_config, &php4_module);
+ conf = ap_get_module_config(r->per_dir_config, &php5_module);
apply_config(conf);
if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->handler, PHP_SCRIPT)) {
@@ -556,7 +556,7 @@ static void php_register_hook(apr_pool_t *p)
ap_hook_handler(php_handler, NULL, NULL, APR_HOOK_MIDDLE);
}
-AP_MODULE_DECLARE_DATA module php4_module = {
+AP_MODULE_DECLARE_DATA module php5_module = {
STANDARD20_MODULE_STUFF,
create_php_config, /* create per-directory config structure */
merge_php_config, /* merge per-directory config structures */