Ticket #294 (closed defect: fixed)
Xcache 3.0.x with Ioncube Loader
| Reported by: | jeffrey.ness | Owned by: | moo |
|---|---|---|---|
| Priority: | major | Milestone: | 3.0.1 |
| Component: | cacher | Version: | 3.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | PHP Version: | 5.3.18 | |
| Application: | Need User Feedback: | no | |
| Other Exts: | SAPI: | Irrelevant | |
| Probability: | Blocking: |
Description
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:
--
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-

