]> git.pld-linux.org Git - packages/php4.git/commitdiff
- ap_get_server_version fix
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 11 Aug 2014 11:15:38 +0000 (13:15 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 11 Aug 2014 11:15:38 +0000 (13:15 +0200)
php4-apache24.patch

index 773245e93ae875d42c5236ce7f467a0a707e75d3..3cf15f068bc3a0d59ada1649ce82f6e527c87f4b 100644 (file)
@@ -96,3 +96,18 @@ diff -ur -x configure -x aclocal.m4 -x config.guess -x config.sub -x '*.orig' -x
 +    fi
    fi
    AC_MSG_RESULT(yes)
+
+--- php-4.4.9/sapi.org/apache2handler/php_functions.c  2007-12-31 08:22:55.000000000 +0100
++++ php-4.4.9/sapi/apache2handler/php_functions.c      2014-08-11 13:09:01.932246720 +0200
+@@ -324,7 +324,11 @@
+ 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)
This page took 0.125666 seconds and 4 git commands to generate.