Index: /trunk/ChangeLog
===================================================================
--- /trunk/ChangeLog	(revision 977)
+++ /trunk/ChangeLog	(revision 978)
@@ -6,5 +6,5 @@
 ========
  * closes #972: warning/error when XCache is loaded incorrectly
- * closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode
+ * closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode (>=PHP_5_3)
  * closes #174: updated api for clear all cache
 
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 977)
+++ /trunk/xcache.c	(revision 978)
@@ -3871,4 +3871,6 @@
 	REGISTER_INI_ENTRIES();
 
+	/* additional_functions requires PHP 5.3. TODO: find simpler way to do it */
+#ifdef ZEND_ENGINE_2_3
 	if (strcmp(sapi_module.name, "cgi-fcgi") == 0 && !sapi_module.additional_functions && !getenv("XCACHE_SKIP_FCGI_WARNING") && !getenv("GATEWAY_INTERFACE")) {
 		if ((getenv("PHP_FCGI_CHILDREN") == NULL) || (atoi(getenv("PHP_FCGI_CHILDREN")) < 1)) {
@@ -3876,4 +3878,5 @@
 		}
 	}
+#endif
 
 	xc_config_long(&xc_php_size,       "xcache.size",        "0");
