Custom Query (298 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 298)

Ticket Resolution Summary Owner Reporter
#92 fixed Xcache not working with Zend Optimizer 3.2.8 moo adrianmoir
Description

Hi Have a problem trying to Xcache and Zend optimizer can you help?

Many Thanks,

Adrian.

Problem occurs post installation of Xcache upon apache restart.
Error posted in /var/log/httpd/error.log
   PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.2.8 is incompatible with
   XCache 1.2.0 in Unknown on line 0

PHP info.....

[root@Portal httpd]# php -v
PHP 5.1.6 (cli) (built: May  3 2007 10:03:49)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
[root@Portal httpd]# php-cgi -v
PHP 5.1.6 (cgi-fcgi) (built: May  3 2007 10:01:28)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

Apache Version

[root@Portal httpd]# httpd -v
Server version: Apache/2.2.3

Server is running on RedHat Enterprise V5 x86_64.
#300 wontfix Error on PHP files containing multiple namespaces when XCache is enabled moo adrienlabelle
Description

This was first reported over there: https://github.com/nrk/predis/issues/80 but it seems to be a problem with XCache, not this specific library.

If I enable xcache on my apache server, Predis throws the following error: "Fatal error: Class 'Predis\CommunicationException?' not found in..."

I am using the one-file version of Predis (not really my choice, the application I use Predis with is a bit rigid). It should be noted this has been reproduced on two different machines. Disabling XCache as an extension or disabling the caching engine fix the issue.

The issue is present in XCache 3.0.1 too.

PHP version:

PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:58) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies with XCache v1.3.2, Copyright (c) 2005-2011, by mOo

OS: Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise

Apache: Server version: Apache/2.2.22 (Ubuntu) Server built: Feb 13 2012 01:51:50

Predis Client version is 0.7.4-dev

Thank you very much for your time.

#314 wontfix Fatal error class redeclaration after return statement moo afxdesign
Description

Hello, I have experienced a problem where xcache loads a class incorrectly before a validating if statement which would otherwise return/exit the script. Wrapping the class in else brackets resolves this issue, however I have seen this syntax in use in a number of Wordpress plugins which might mean its worth looking into this.

The code works as expected with xcache disabled and with APC. You can view a youtube video demonstrating this at: http://www.youtube.com/watch?v=VcNLoDvRLDc&feature=youtu.be

index.php

<?php
include('debug1.php');
include('debug2.php');

$test = new SomeClass();
echo $test->someVar;

debug1 & debug2 are duplicate files:

<?php
if(class_exists('SomeClass')) return;
class SomeClass {
    var $someVar = "test";
}
Note: See TracQuery for help on using queries.