<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
This patch is already inside the deb package...<br>
<br>
Le 2012-03-15 14:45, Lior Kaplan a écrit :
<blockquote
cite="mid:CAEsznC5=EkSV5QNM6fKK1wWe0TMJWKws9L5zFKSpZD21fX2kUA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">On Thu, Mar 15, 2012 at 8:20 PM, Yan
Morin <span dir="ltr"><<a moz-do-not-send="true"
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 moz-do-not-send="true"
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>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Yan Morin
Consultant en Logiciel Libre de Progysm
<a class="moz-txt-link-abbreviated" href="mailto:progysm@gmail.com">progysm@gmail.com</a>
<a class="moz-txt-link-freetext" href="http://progysm.com/">http://progysm.com/</a>
819 499-0616
</pre>
</body>
</html>