Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#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:
Application: PHP Version: 5.3.18
Other Exts: SAPI: Irrelevant
Probability: Blocked By:
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:

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-

Change History (2)

comment:1 Changed 16 months ago by moo

  • Milestone changed from undecided to 3.0.1
  • Resolution set to fixed
  • Status changed from new to closed

This issue has been fixed in trunk already. check out from svn, or use http://xcache.lighttpd.net/pub/snapshots/trunk-r1190/

  • improve compatibility with "the ionCube PHP Loader", Zend Optimizer

comment:2 Changed 16 months ago by jeffrey.ness

Thank you very much for the clarification!

Note: See TracTickets for help on using tickets.