Created
August 22, 2013 18:51
-
-
Save samrose/6311245 to your computer and use it in GitHub Desktop.
Drupal APC Steps Ubuntu 12.04 LTS Apache 2 mod_php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre-req: | |
apt-get install libpcre3-dev | |
pecl install apc | |
drush dl apc | |
edit /etc/php5/apache2/php.ini add: | |
extension=apc.so | |
sudo service apache2 restart | |
edit settings.php add: | |
/** | |
* Add APC Caching. | |
*/ | |
$conf['cache_backends'][] = 'sites/all/modules/apc/drupal_apc_cache.inc'; | |
$conf['cache_class_cache'] = 'DrupalAPCCache'; | |
$conf['cache_class_cache_bootstrap'] = 'DrupalAPCCache'; | |
cp cp /usr/share/php/apc.php to webdir to check | |
use devel module with query logging turned on to check query times. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment