[php-maint] php5-xcache

Lior Kaplan kaplan at debian.org
Thu Mar 15 18:45:03 UTC 2012


On Thu, Mar 15, 2012 at 8:20 PM, Yan Morin <progysm at gmail.com> wrote:

>  It does like my deb compilation, it generates for files cache
> PHP Fatal error:  Call to undefined function (null)()
>
> and die for variable cache
>
> with
> php5                                    5.4.0-2
> php5-xcache                             1.3.2-1.1+b1
> libapache2-mod-php5                     5.4.0-2
>
> But maybe it's more a bug of the library itself.
> http://xcache.lighttpd.net/ticket/271
>
>
This patch should make things work with PHP 5.4
--- xcache-1.3.2.orig/xcache.h
+++ xcache-1.3.2/xcache.h
@@ -21,7 +21,7 @@
 #include "lock.h"

 #define HAVE_INODE
-#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 &&
PHP_MINOR_VERSION == 3 && PHP_RELEASE_VERSION >= 99 || PHP_MAJOR_VERSION >
5)
+#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 &&
PHP_MINOR_VERSION == 4 || PHP_MAJOR_VERSION > 5)
 #    define ZEND_ENGINE_2_4
 #endif
 #if !defined(ZEND_ENGINE_2_3) && (PHP_MAJOR_VERSION == 5 &&
PHP_MINOR_VERSION == 3 || defined(ZEND_ENGINE_2_4))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20120315/b497fa02/attachment.html>


More information about the pkg-php-maint mailing list