Index: trunk/xcache.c
===================================================================
--- trunk/xcache.c	(revision 559)
+++ trunk/xcache.c	(revision 570)
@@ -3053,4 +3053,12 @@
 	REGISTER_INI_ENTRIES();
 
+	xc_config_long(&xc_php_size,       "xcache.size",        "0");
+	xc_config_hash(&xc_php_hcache,     "xcache.count",       "1");
+	xc_config_hash(&xc_php_hentry,     "xcache.slots",      "8K");
+
+	xc_config_long(&xc_var_size,       "xcache.var_size",    "0");
+	xc_config_hash(&xc_var_hcache,     "xcache.var_count",   "1");
+	xc_config_hash(&xc_var_hentry,     "xcache.var_slots",  "8K");
+
 	if (strcmp(sapi_module.name, "cli") == 0) {
 		if ((env = getenv("XCACHE_TEST")) != NULL) {
@@ -3058,16 +3066,8 @@
 		}
 		if (!xc_test) {
-			/* disable cache for cli except for test */
+			/* disable cache for cli except for testing */
 			xc_php_size = xc_var_size = 0;
 		}
 	}
-
-	xc_config_long(&xc_php_size,       "xcache.size",        "0");
-	xc_config_hash(&xc_php_hcache,     "xcache.count",       "1");
-	xc_config_hash(&xc_php_hentry,     "xcache.slots",      "8K");
-
-	xc_config_long(&xc_var_size,       "xcache.var_size",    "0");
-	xc_config_hash(&xc_var_hcache,     "xcache.var_count",   "1");
-	xc_config_hash(&xc_var_hentry,     "xcache.var_slots",  "8K");
 
 	if (xc_php_size <= 0) {
