Tag: APC

  • Ubuntu 10.04: Setup APC for PHP 5.3 and Apache2

    Installing the APC (Alternative PHP Cache) using the php-apc package is straightforward: # sudo aptitude install php-apc # sudo /etc/init.d/apache2 restart Using the package php-apc installs APC 3.1.3p1. If you would like to use the most recent version 3.1.4 you can manually set up the PECL package as follows: Install the required packages: # sudo […]

  • Ubuntu 9.10: Setup APC for PHP5 and Apache2

    Update 2010-09-25: There is a new blog post (“Ubuntu 10.04: Setup APC for PHP 5.3 and Apache2”) for Ubuntu 10.04. To set up the Alternative PHP Cache (APC) just follow the instructions below: Install the required packages: # sudo apt-get install php-pear php5-dev apache2-threaded-dev Install APC: # sudo pecl install apc Create file /etc/php5/conf.d/apc.ini with […]