Portal Home > Knowledgebase > Articles Database > Which opcode cache?


Which opcode cache?




Posted by jauburn, 04-13-2013, 10:32 AM
Which opcode cache is best for a dedicated server running mostly large vbulletin boards (and a few other forums)? Here's the current php configuration: PHP 5.2.17 (cli) (built: Apr 12 2013 12:57:35) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd. Machine has 8 GB of RAM. Thanks in advance for help.

Posted by VectorVPS, 04-15-2013, 02:23 AM
Honestly, there really isn't much of a difference between the popular PHP opcode caches. Like anything else, you will find some benchmarks that say APC is the best, and others where XCache performed best, and so forth. Personally, I use APC, because it is endorsed by the major PHP developers and will be included in PHP 6 when it is released.

Posted by net, 04-15-2013, 02:28 AM
Moved > Hosting Security and Technology .

Posted by TravisT-[SSS], 04-15-2013, 09:22 AM
Personally, I like XCache. With some tweaking you can get some nice fast response times. However, each opcache works differently and depends on your server setup and how you want to operate.

Posted by Ramprage, 04-15-2013, 10:53 AM
APC works great, recommended for your own environment.

Posted by max_payne, 04-15-2013, 11:05 AM
OpCode caching software will not work if you have SuPHP as your PHP handler. I personally prefer eAccelerator.

Posted by CharmServer, 04-15-2013, 07:46 PM
We prefer eAccelerator too. It worked better for us. Just remember to have enough disk space free available in your /tmp partition. As others said, none of the opcode cache systems will work with SuPHP. You need PHP running as FastCGI or DSO. Regarding DSO, you can install Apache mod_ruid2, then configure PHP to run as DSO and you have all the advantages of SuPHP in regards with security and permissions and all the advantages of DSO including better performance, less CPU usage, and the ability to run opcode cache systems.

Posted by jauburn, 05-05-2013, 08:45 AM
Thanks, everyone.

Posted by zoid, 05-05-2013, 09:18 AM
5.5 will ship its own



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Why Weberz Rocks! (Views: 803)
Simple question (Views: 835)
Outsourced everything (Views: 808)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.