|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18820 Configure detects wrong apache version w/ C2Net Stronghold
Submitted: 2002-08-08 20:47 UTC Modified: 2002-09-21 01:53 UTC
From: jmorton at ezrez dot com Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 4.2.2 OS: Debian GNU/Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jmorton at ezrez dot com
New email:
PHP Version: OS:


 [2002-08-08 20:47 UTC] jmorton at ezrez dot 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)

<   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

-ge 5000000 since RedHat has already released Stronghold 4.0, and it's still based on Apache 1.3.x


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-14 17:46 UTC]
Please try the latest (NON-stable) CVS snapshot from as I think this is already fixed.

 [2002-09-21 01:53 UTC]
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.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 23:01:30 2024 UTC