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

This commit is contained in:
Ilia Alshanetsky 2006-12-11 14:54:29 +00:00
parent fb522f16ee
commit c151b4a37f
2 changed files with 8 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)