Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 450)
+++ /trunk/xcache.c	(revision 451)
@@ -995,4 +995,7 @@
 	if (!XG(initial_compile_file_called)) {
 		xc_sandbox_free(&sandbox, XC_InstallNoBinding TSRMLS_CC);
+		ENTER_LOCK(cache) {
+			cache->compiling = 0;
+		} LEAVE_LOCK(cache);
 		return op_array;
 	}
Index: /trunk/NEWS
===================================================================
--- /trunk/NEWS	(revision 448)
+++ /trunk/NEWS	(revision 451)
@@ -1,4 +1,5 @@
 2.0.0 2007-?-?
 ========
+ * bug fix for compatibility with Zend Optimizer and other non-cachable
  * a rare segv bug with token_get_all
  * compatibility fix for apache 1.x, which init XCache module correctly
Index: /trunk/ChangeLog
===================================================================
--- /trunk/ChangeLog	(revision 448)
+++ /trunk/ChangeLog	(revision 451)
@@ -6,4 +6,5 @@
 ChangeLog
 ========
+ * bug fix for compatibility with Zend Optimizer and other non-cachable
  * #55: segv php tokenizer on certain special situation
  * new: xcache.stat = On
