Blue Horn New Zealand Web Design & Development (PHP 5, MySQL, Symfony Framework, Apache, Linux)

29Jan/101

Speed up Symfony by installing APC on Ubuntu

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.

Comments (1) Trackbacks (0)
  1. Thank you so much for your help.


Leave a comment

(required)

 

No trackbacks yet.