Showing posts with label memcache. Show all posts
Showing posts with label memcache. Show all posts

Thursday, June 3, 2010

MemCache Installation

Today i had worked on installing Memcache

The Procedure to install Memcache is (LAMP)
1) check your system will support pecl installations are not
2) fire this command in CMD "pecl install memcache" (another way is "apt-get install php5-memcache", But it is not working for all the systems.)
3) Fire this command in CMD
    echo "extension memcache.so" >> /etc/php5/apache2/php.ini  (This is the path for your php.ini file)
4) now you have to install the memcached server
   run this command "apt-get install memcached"
5) Restart the apache server "/etc/init.d/apache2 start"
6) Start memcached server "/etc/init.d/memcached start"