]> git.pld-linux.org Git - packages/php.git/blame - php-nohttpd.patch
- release 18 (by relup.sh)
[packages/php.git] / php-nohttpd.patch
CommitLineData
f31b57cb
ER
1--- php-5.4.20/sapi/apache2handler/config.m4~ 2013-09-18 08:48:57.000000000 +0300
2+++ php-5.4.20/sapi/apache2handler/config.m4 2013-09-27 00:14:09.307972159 +0300
3@@ -60,9 +60,9 @@
c0240cb1 4
5 # Test that we're trying to configure with apache 2.x
6 PHP_AP_EXTRACT_VERSION($APXS_HTTPD)
7- if test "$APACHE_VERSION" -le 2000000; then
8+ if test "$APACHE_VERSION" -gt 0 -a "$APACHE_VERSION" -le 2000000; then
f31b57cb 9 AC_MSG_ERROR([You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropriate switch --with-apxs (without the 2)])
c0240cb1 10- elif test "$APACHE_VERSION" -lt 2000044; then
11+ elif test "$APACHE_VERSION" -gt 0 -a "$APACHE_VERSION" -lt 2000044; then
12 AC_MSG_ERROR([Please note that Apache version >= 2.0.44 is required])
13 fi
14
This page took 0.078691 seconds and 4 git commands to generate.