Commit d294a985 authored by robertDouglass's avatar robertDouglass
Browse files

sync HEAD

parent 64e5ff97
// $Id$
Fedora memcache + drupal walkthrough
1) Have a look at the background reading
A - http://www.danga.com/memcached/ (cache daemon)
B - http://pecl.php.net/package/memcache (PHP integration for memcache)
......@@ -28,13 +26,13 @@ Fedora memcache + drupal walkthrough
1010 yum install php-devel
1011 rpmbuild --rebuild php-pecl-memcache-2.0.4-1.rf.src.rpm
3) Installed RPMS
3) Installed RPMS
[root@yoursite ~]# rpm -Uvh /usr/src/redhat/RPMS/x86_64/memcached-1.2.1-4.rf.x86_64.rpm /usr/src/redhat/RPMS/x86_64/php-pecl-memcache-2.0.4-1.rf.x86_64.rpm
Preparing... ########################################### [100%]
1:php-pecl-memcache ########################################### [ 50%]
2:memcached ########################################### [100%]
[root@yoursite ~]#
[root@yoursite ~]#
4) Verify configuration. Change if required.
......@@ -53,7 +51,7 @@ Starting Distributed memory caching (memcached): [ OK ]
[root@yoursite ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@yoursite ~]#
[root@yoursite ~]#
Check phpinfo() for memcached status. Mine said
......@@ -87,7 +85,7 @@ whole $cfg. The example below uses the default localhost:11211 server.
$conf = array(
'memcache_inc' => './includes/memcache.inc',
);
[simon@yoursite memcache]$
[simon@yoursite memcache]$
8) Enable the drupal module from /admin/build/modules (it's in the "Other"
section)
......@@ -2,15 +2,14 @@
## INSTALLATION ##
To install, move memcache.inc to your DRUPAL/includes directory (where the
other *.inc files live).
The memcache.inc file is intended to be used instead of cache.inc, utilizing
Drupal's pluggable cache system. To make this happen, you need to update
$conf in settings.php to tell Drupal which cache_inc file to use:
$conf = array(
'cache_inc' => './includes/memcache.inc',
// The path to wherever memcache.inc is. The easiest is to simply point it
// to the copy in your module's directory.
'cache_inc' => './sites/all/modules/memcache/memcache.inc',
);
## SERVERS ##
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment