Blue Horn

Linux

Speed up Symfony by installing APC on Ubuntu

January 29, 2010 by Sid in Linux, PHP, Symfony Framework with 1 Comment

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!

Tagged , , , ,

Related Posts

One Comment

  1. DragnucsAugust 1, 2011 at 4:03 am

    Thank you so much for your help.

Leave a reply

Your email address will not be published. Required fields are marked *

*

fifteen + twenty =

My Projects
Restaurant Websites
Websites