#18820 [NEW]: Configure detects wrong apache version w/ C2Net Stronghold

From: Date: Fri, 09 Aug 2002 00:47:08 +0000
Subject: #18820 [NEW]: Configure detects wrong apache version w/ C2Net Stronghold
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16338@lists.php.net to get a copy of this message
From: jmorton@ezrez.com Operating system: Debian GNU/Linux PHP version: 4.2.2 PHP Bug Type: PHP options/info functions Bug description: Configure detects wrong apache version w/ C2Net Stronghold When running C2Net Stronghold 2+, PHP detects the wrong version of Apache (Since Stronghold outputs "Stronghold/3.0" in -v). I saw other bugs similar to this problem, but not quite the same (Such as Bug #16791) A diff of what I did to make it work: (No guarantee this is safe for versions of Stronghold other than 3.0) 3658c3658,3664 < if test "$APACHE_VERSION" -ge 2000000; then --- > APACHE_VENDOR=`$APXS_HTTPD -v | head -1 | cut -f3 -d' ' | cut -f1 -d'/'` > if test "$APACHE_VENDOR" == "Stronghold"; then > APACHE_VERSION_NUMBER=5000000; > else > APACHE_VERSION_NUMBER=2000000; > fi > if test "$APACHE_VERSION" -ge $APACHE_VERSION_NUMBER; then 3661d3666 < -ge 5000000 since RedHat has already released Stronghold 4.0, and it's still based on Apache 1.3.x -- Edit bug report at http://bugs.php.net/?id=18820&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18820&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18820&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18820&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18820&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18820&r=support Expected behavior: http://bugs.php.net/fix.php?id=18820&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18820&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18820&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18820&r=globals

« previous php.bugs (#16338) next »