Home > Linux, PHP, Symfony Framework > Speed up Symfony by installing APC on Ubuntu

Speed up Symfony by installing APC on Ubuntu

January 29th, 2010

APC (Alternative PHP Cache) is an open source code PHP code cache and optimizer (or code accelerator). It is a necessary companion to any Symfony project. So here we go:

sudo apt-get update
sudo apt-get install php5-dev apache2-dev build-essential apache2-threaded-dev php-pear
sudo pecl install apc

Then update /etc/php5/apache2/php.ini and add this line:

extension=apc.so

Have fun!

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Linux, PHP, Symfony Framework , , , ,

  1. No comments yet.
  1. No trackbacks yet.
Subscribe to comments feed