Web Hosting Talk







View Full Version : PHP Caching : APC Installation and Configuration Tutorial


agnivo007
06-01-2007, 03:00 AM
Caching php scripts (intermediate opcode) in memory can make your dynamic pages load really fast and exert less load on the CPU of your VPS.

Typical php caching engines and accelerators are eAccelerator, xCache and APC (a PECL extension). APC is considered the best.

In this do-it-yourself tutorial, I've written about APC and easy step by step procedure to get it installed on your VPS.

Here's the complete tutorial : Cache PHP Scripts With APC PECL Module (http://www.agnivo.com/tech/cache-php-scripts-with-apc-pecl-module-100.html)

So, try it out today; lessen system load and watch your dynamic pages fly!

Feel free to submit comments and social bookmark the blog post...many people may be helped with this.

Thank you.

lottos
06-06-2007, 02:36 AM
APC is considered the best.

depends on many factors and who you ask/who did the benchmarking and with what apps.

tsj5j
06-06-2007, 07:26 AM
APC is supported by PHP developers.

You can't go very wrong with it.

jamesb99
06-06-2007, 09:42 AM
The sad thing about it is that it's not compatible with Zend Optimizer...

I'd prefer eAccelerator. ;)

jpwjpw
06-08-2007, 01:12 PM
apc is included from php 5.2.0 anyway isn't it?

Steven
06-08-2007, 01:17 PM
Depends on what you are doing what the script is doing etc. We got a script that does horrible with apc but is awesome with eaccelerator for an example.

jpwjpw
06-08-2007, 01:25 PM
its also great for ajax upload progress bars :)

Christopher2009
08-10-2007, 11:16 AM
cool it works

senphoenix
08-15-2007, 06:27 AM
Thanks for sharing, man..

yakatz
01-02-2011, 01:09 PM
So many great sounding tutorials here that seem to have vanished.
Anyone have a mirror of agnivo007 stuff?

LoyaltyV
01-03-2011, 07:36 AM
So many great sounding tutorials here that seem to have vanished.
Anyone have a mirror of agnivo007 stuff?


http://tinyurl.com/39az84r

phpashish
04-18-2011, 06:50 AM
Hi,

can i use APC caching on my e-commerce web site,

Thanks,

phpashish
04-18-2011, 07:40 AM
Hi,

can i use APC caching on my e-commerce web site,

Thanks,