|
IonCube v5 introduces compatability problem with XCache
|
|
|
Author |
Message |
JamesOakley
Joined: 18 May 2015 Posts: 2
|
Posted: Mon May 18, 2015 11:07 am Post subject: IonCube v5 introduces compatability problem with XCache |
|
|
I've just installed PHP 5.4 from source on a new server. I did this just as I always do:
I installed XCache (3.2.0) from source. I downloaded your latest x84_64 loader, and put that in the php.d directory. I made sure that one of the php.ini files loads the ioncube loader as a Zend extension. Then I enabled, and configured, XCache in its own xcache.ini file.
When I tried to run php, I was getting the error: "The Loader must appear as the first entry in the php.ini file"
I then set about doing lots of fiddling, trying to make sure that the loader is loaded as early as possible in the process, but none of it would allow me to have XCache and the ionCube Loader running simultaneously. If I commented out the line that enabled either, the other would work, but not both.
I then compared a server where this was working perfectly, to try and work out what was different. I couldn't see any change in the way the various .ini files were set up, but I did notice the other server was running an older version of the ionCube Loader. I'd just downloaded 5.0.5; the older version was 4.7.5.
So I took my new server, that wasn't working with both XCache and ionCube Loader. I made only one change - I replaced the ioncube_loader_lin_5.4.so file with the 4.7.5 one that was working on another server. And, magically, everything worked as it should.
Conclusion: It's nothing to do with the order of the (zend_)extension lines in the PHP .ini files. It's simply that ionCube Loader 5.0.5 won't play nicely with XCache in a way that wasn't a problem at all with the 4.x loaders.
I don't want to be wedded to using an older version of the Loader than is current. Why is this not working, and how can I solve the problem I've been having (without having to use an old version - which is a workaround, not a solution)? |
|
Back to top |
|
 |
liaison ionCube Support
Joined: 16 Dec 2004 Posts: 2788
|
Posted: Mon May 18, 2015 6:23 pm Post subject: |
|
|
Thanks for the update. I'll pass this information onto support for you. If you wish to contact support directly, the Helpdesk is at http://support.ioncube.com. You might also try the built-in official PHP Opcache as an alternative. It performed the best in our tests, and the series 5 Loaders work particularly well with it when ionCube 24 is enabled. _________________ Community Admin |
|
Back to top |
|
 |
JamesOakley
Joined: 18 May 2015 Posts: 2
|
Posted: Wed Jun 03, 2015 8:42 am Post subject: |
|
|
liaison wrote: | I'll pass this information onto support for you. |
Thanks for that - I can now see an entry in the changelog against 5.0.7 that looks like it fixes this.
I'll check, but it looks like that's all solved. |
|
Back to top |
|
 |
alastair
Joined: 23 Feb 2010 Posts: 407
|
Posted: Thu Jun 04, 2015 9:05 am Post subject: |
|
|
Please let us know if you experience any issues running the ionCube Loader and XCache together. It would be best to do that through our Support Help Desk at http://support.ioncube.com _________________ Alastair
ionCube |
|
Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|