|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-17 04:07 UTC] jwoolley@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
sapi/apache2filter/config.m4 fails to recognize Apache 2.x.x-dev (CVS) version strings and thus the test for Apache version gt 2.0.0 fails. Attached is a patch to compensate for "-dev" being in the version string. *** config.m4.orig Tue May 14 21:44:07 2002 --- config.m4 Tue May 14 21:42:52 2002 *************** *** 34,40 **** APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET` # Test that we're trying to configure with apache 2.x ! APACHE_VERSION=`$APXS_HTTPD -v | head -1 | cut -f3 -d' ' | cut -f2 -d'/' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` if test "$APACHE_VERSION" -le 2000000; then AC_MSG_ERROR([Use --with-apxs with Apache 1.3.x!]) elif test "$APACHE_VERSION" -lt 2000035; then --- 34,40 ---- APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET` # Test that we're trying to configure with apache 2.x ! APACHE_VERSION=`$APXS_HTTPD -v | head -1 | cut -f3 -d' ' | cut -f2 -d'/' | cut -f1 -d'-' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` if test "$APACHE_VERSION" -le 2000000; then AC_MSG_ERROR([Use --with-apxs with Apache 1.3.x!]) elif test "$APACHE_VERSION" -lt 2000035; then