Hi, Dunno if that solves that bug entirely, but at least it follows the php.ini on/off config flags, instead of putting 0 and 1 for boolean settings.
Index: apache_config.c =================================================================== RCS file: /repository/php4/sapi/apache2filter/apache_config.c,v retrieving revision 1.19 diff -u -r1.19 apache_config.c --- apache_config.c 22 Apr 2002 20:00:41 -0000 1.19 +++ apache_config.c 11 May 2002 19:49:01 -0000 @@ -57,6 +57,11 @@ size_t str_len; phpapdebug((stderr, "Getting %s=%s for %p (%d)\n", name, value, dummy, zend_hash_num_elements(&d->config))); + + if (apr_strnatcasecmp(value, "On") == 0) + value = "1"; + else if (apr_strnatcasecmp(value, "Off") == 0) + value = "0"; e.value = apr_pstrdup(cmd->pool, value); e.value_len = strlen(value); e.status = status; MT. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php