How to Install Alternative PHP Cache (APC) on Ubuntu

apc php

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.

To install APC, do the following commands:


# aptitude install php-pear
# aptitude install php5-dev
# aptitude install apache2-dev
# pecl install apc
# echo "extension=apc.so" > /etc/php5/apache2/conf.d/apc.ini
# /etc/init.d/apache2 restart

Update Feb 25, 2012:

I found one liner APC installation from php.net:

$ sudo apt-get install php-apc

 

Keywords:

  • troubles loading ice cream sandwich on my p1000 galaxy tab
  • Alternative PHP Cache trick
  • apc accelerator pecl
  • ubuntu alternative php cache
  • pecl install apc
  • alternative php cache in php
  • install apc cache
  • installer php apache2 samsung tablet
  • optimizing apc cache settings for ubuntu 12
  • p1000 install apt-get

Related posts:

  1. How to Fix APC Installation Error on Ubuntu
  2. Install Subversion on Debian
  3. How to Fix PHP Warning: Module already loaded in Unknown on line 0 on Ubuntu
  4. Install cURL on Ubuntu
  5. How to Install Ice Cream Sandwich (ICS) on Samsung Galaxy Tab GT-P1000

Filed Under: FeaturedLinuxPHPTechnologyTips and TricksTutorialUbuntu

RSSComments (1)

Leave a Reply | Trackback URL

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.