Error on PHP files containing multiple namespaces when XCache is enabled
|Reported by:||adrienlabelle||Owned by:||moo|
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 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
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
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.
Change History (10)
comment:1 Changed 14 months ago by moo
- Milestone changed from undecided to 3.0.2
- Status changed from new to assigned