Recommended opcode other than APC?

semprot

Well-Known Member
#1
For litespeed user, do you have any recommendation about opcode other than APC?

Which is better in term of speeding up process and working well along with litespeed :
xcache / zend / eaccelerator / something else?

Because last version of APC is 3.1.13 (and beta), which was released in 2012.
http://pecl.php.net/package/APC

If new php version coming out, and i have to switch to newer php, i have to change to other than APC :)

Thank you.
 

NiteWave

Administrator
#2
this is common for php 5.4 and above (no direct relation with litespeed):
Zend Opcache or XCache is recommended
eAccelerator and APC are not recommended

Opcache has no variable cache while XCache has.
 

semprot

Well-Known Member
#3
Does xcache work very well with litespeed, on all condition (like whether suphp / not, and maybe other condition) ?

Thank you.
 

NiteWave

Administrator
#4
just consider xcache is part of php.
since xcache can work well with php 5.4 / 5.5 / 5.6
and litespeed works well with php 5.4/5/6
so xcache work well with litespeed.
 

sirj

New Member
#6
Not sure, but I believe APCu would work with PHP 5.5+ and the LSAPI. APCu is just the variable store stuff ripped out of APC. Then use the standard OpCode cache built into PHP. I haven't tested it (yet) in Litespeed, but it works in various Apache configs. APC as an OpCode cache is apparently RIP.
 

redstrike

Well-Known Member
#7
Zend Opcache or XCache is recommended.

Prefer Zend Opcache over XCache if you just want to use opcode cache, it's faster than Xcache's a little. Xcache allows you to cache var data (user cache) which is not supported by Zend Opcache.
 

eva2000

Well-Known Member
#8
Usually for php opcode caching

Zend Opcache > APC Cache > Xcache

  • For PHP <=5.4 I use either Zend Opcache 7.0.4 or APC Cache 3.1.3
  • For PHP =>5.5 I use either Zend Opcache 7.0.4 or APC Cache 3.1.15-dev (which supports >PHP 5.5 versions)
 

semprot

Well-Known Member
#10
Usually for php opcode caching

Zend Opcache > APC Cache > Xcache

  • For PHP <=5.4 I use either Zend Opcache 7.0.4 or APC Cache 3.1.3
  • For PHP =>5.5 I use either Zend Opcache 7.0.4 or APC Cache 3.1.15-dev (which supports >PHP 5.5 versions)
how can you get 3.1.15-dev? :)
 
Top