﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,appname,phpversion,exts,sapi,probability,blockedby,blocking
294,Xcache 3.0.x with Ioncube Loader,jeffrey.ness,moo,"Greetings,

I work on the IUS Community Project, we create replacement packages for Enterprise Linux servers.

We have built Xcache as a module for our custom php53, php53u and php54 for awhile now, and just recently a bug has been reported with Xcache 3.0 along side Ioncube Loader:

   https://bugs.launchpad.net/ius/+bug/1088667

--

Previously ioncube-loader and xcache (2.x) were able to be installed side by side:

{{{
# php -v
PHP 5.3.18 (cli) (built: Oct 18 2012 17:14:24) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with XCache v2.0.1, Copyright (c) 2005-2012, by mOo
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
    with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
}}}

However, Xcache 3.0 no longer being a zend_extension has caused some issues.


{{{
# rpm -q php53u-xcache
php53u-xcache-3.0.0-1.ius.el5

}}}


{{{
# php -v
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
}}}

Though if we remove ioncube-loader everything works just fine:



{{{
# rpm -e php53u-ioncube-loader

# php -v
PHP 5.3.18 (cli) (built: Oct 18 2012 17:14:24) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with XCache v3.0.0, Copyright (c) 2005-2012, by mOo
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
    with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
    with XCache Optimizer v3.0.0, Copyright (c) 2005-2012, by mOo
    with XCache Cacher v3.0.0, Copyright (c) 2005-2012, by mOo
    with XCache Coverager v3.0.0, Copyright (c) 2005-2012, by mOo
}}}

And just to clarify ioncube-loader works just fine without Xcache 3.0:


{{{
# rpm -e php53u-xcache

# php -v
PHP 5.3.18 (cli) (built: Oct 18 2012 17:14:24) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
    with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
}}}

Am I missing something, or are the two no longer compatible?

Thanks for your time
Jeffrey-",defect,closed,major,3.0.1,cacher,3.0.0,fixed,,,,5.3.18,,Irrelevant,,,
