Installing APC

The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.

It can be installed on dedicated servers via WHM. See the Software > Module Installers menu and select PECL

Or via the command line with...

pecl install apc

Or manually by downloading the latest version and compiling it...

# wget
# tar -xvzf APC-3.1.9.tgz
# cd APC-3.1.9
# phpize
# ./configure
# make
# make install

Then restart apache.

You can update APC using either of the methods above except it's 'pecl update apc' instead of 'pecl install apc'.





  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Optimizing your website via cPanel

You can quickly and simply improve the performance of your website by going to your cPanel at...

Performance tips from Google

Google have collected together lots of very useful tips and tutorials in optimizing your...

Search Engines and Performance

Search Engines such as Google, Yahoo and Microsoft Live Search (or Bing) are very useful at...

Using Expires Headers to improve performance

Adding an Expires header to your website with a date in the future makes the files cacheable,...

High Server Load

High server load can be caused by a number of problems such as high CPU load, high memory usage...