<div dir="ltr"><div class="gmail_quote">On Thu, Mar 15, 2012 at 8:20 PM, Yan Morin <span dir="ltr"><<a href="mailto:progysm@gmail.com">progysm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
It does like my deb compilation, it generates for files cache<br>
PHP Fatal error: Call to undefined function (null)() <br>
<br>
and die for variable cache<br>
<br>
with<br>
php5 5.4.0-2<br>
php5-xcache 1.3.2-1.1+b1<br>
libapache2-mod-php5 5.4.0-2<br>
<br>
But maybe it's more a bug of the library itself.<br>
<a href="http://xcache.lighttpd.net/ticket/271" target="_blank">http://xcache.lighttpd.net/ticket/271</a><br>
<br></div></blockquote></div><br>This patch should make things work with PHP 5.4<br>--- xcache-1.3.2.orig/xcache.h<br>+++ xcache-1.3.2/xcache.h<br>@@ -21,7 +21,7 @@<br> #include "lock.h"<br> <br> #define HAVE_INODE<br>
-#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 3 && PHP_RELEASE_VERSION >= 99 || PHP_MAJOR_VERSION > 5)<br>+#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 4 || PHP_MAJOR_VERSION > 5)<br>
# define ZEND_ENGINE_2_4<br> #endif<br> #if !defined(ZEND_ENGINE_2_3) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 3 || defined(ZEND_ENGINE_2_4))<br></div>