Archive for the ‘Memcache’ Category

  • Optimize and Tweak High-Traffic Servers

    Wednesday, June 30th, 2010

    Summary If you are reaching the limits of your server running Apache serving a lot of dynamic content, you can either spend thousands on new equipment or reduce bloat to increase your server capacity by anywhere from 2 to 10 times. This article concentrates on important and poorly-documented ways of increasing capacity without additional hardware. [...]

  • Great Strategies for Using Memcached and MySQL Better Together

    Monday, June 28th, 2010

    The primero recommendation for speeding up a website is almost always to add cache and more cache. And after that add a little more cache just in case. Memcached is almost always given as the recommended cache to use. What is Memcached? Memcached is a general-purpose distributed memory caching system that was originally developed by [...]

  • Turck MMCache for PHP

    Tuesday, April 20th, 2010

    Introduction: Turck MMCache is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. We sho Turck MMCache is a free open source PHP accelerator, optimizer, encoder and dynamic [...]

  • Permission denied trying to install PECL module

    Saturday, April 17th, 2010

    [root@server memcache-2.2.5]# phpize && ./configure –enable-memcache && make && make install ; Configuring for: PHP Api Version:         20041225 Zend Module Api No:      20050922 Zend Extension Api No:   220051025 /usr/bin/phpize: /tmp/memcache-2.2.5/build/shtool: /bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this [...]

  • Memcached with php

    Saturday, April 17th, 2010

    Introduction: memcached (pronunciation: mem-cash-dee) is a general-purpose distributed memory caching system that was originally developed by Danga Interactive for LiveJournal, but is now used by many other sites. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source [...]

  • Steps to install memcache server

    Sunday, April 11th, 2010

    Introduction:- curl -O http://www.monkey.org/~provos/libevent-1.1a.tar.gz tar xfz libevent-1.1a.tar.gz cd libevent-1.1a ./configure && make && make install curl -O http://www.danga.com/memcached/dist/memcached-1.1.12.tar.gz tar xfz memcached-1.1.12.tar.gz ./configure && make && make install yum install libevent useradd memcached password = weareglam mkdir /var/run/memcached && chown memcached:memcached /var/run/memcached memcached -d -p 11211 -u memcached -m 1024 -c 1024 -P /var/run/memcached/memcached.pid to check [...]

  • php_memcached.c:2909: error:

    Wednesday, November 4th, 2009

    We are getting following error while we tried to complie memcached with php /tmp/memcached-1.0.0/php_memcached.c:2909: error: ‘MEMCACHED_BAD_KEY_PROVIDED’ undeclared (first use in this function) We have resolved the issue by installing igbinary-1.0.2.tar.gz