# Test that we're trying to configure with apache 2.x
PHP_AP_EXTRACT_VERSION($APXS_HTTPD)
- if test "$APACHE_VERSION" -le 2000000; then
+ if test "$APACHE_VERSION" -gt 0 -a "$APACHE_VERSION" -le 2000000; then
# Test that we're trying to configure with apache 2.x
PHP_AP_EXTRACT_VERSION($APXS_HTTPD)
- if test "$APACHE_VERSION" -le 2000000; then
+ if test "$APACHE_VERSION" -gt 0 -a "$APACHE_VERSION" -le 2000000; then