#18820 [Fbk->NoF]: Configure detects wrong apache version w/ C2Net Stronghold

From: Date: Sat, 21 Sep 2002 06:53:03 +0000
Subject: #18820 [Fbk->NoF]: Configure detects wrong apache version w/ C2Net Stronghold
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19935@lists.php.net to get a copy of this message
ID: 18820 Updated by: sniper@php.net Reported By: jmorton@ezrez.com -Status: Feedback +Status: No Feedback Bug Type: PHP options/info functions Operating System: Debian GNU/Linux PHP Version: 4.2.2 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-08-14 17:46:46] sniper@php.net Please try the latest (NON-stable) CVS snapshot from http://snaps.php.net/ as I think this is already fixed. ------------------------------------------------------------------------ [2002-08-08 20:47:08] jmorton@ezrez.com 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 this bug report at http://bugs.php.net/?id=18820&edit=1

« previous php.bugs (#19935) next »