Fixed bug #39787 (PHP doesn't work with Apache 2.3).

This commit is contained in:
Ilia Alshanetsky 2006-12-11 14:54:14 +00:00
parent ab765ca497
commit d3aa695263
3 changed files with 10 additions and 0 deletions

View file

@ -333,7 +333,11 @@ PHP_FUNCTION(apache_getenv)
static char *php_apache_get_version()
{
#if MODULE_MAGIC_NUMBER_MAJOR >= 20060905
return (char *) ap_get_server_banner();
#else
return (char *) ap_get_server_version();
#endif
}
/* {{{ proto string apache_get_version(void)