How to run memcache in PHP

Wojtek on CentOS, Linux, memcache, PHP · · Comments · 1 min read

After installing memcached daemon, we have to install memcache PHP extension. yum install php-pecl-memcache or apt-get install php5-memcache If above is not an option try below method. pecl install memcache After successful installation add memcache.so extension to your php.ini file. vim /etc/php.ini Add this line: extension=memcache.so Restart web server service httpd restart Test out... Read more »

How to install memcached on CentOS

Wojtek on bash, CentOS, libevent, Linux, memcached · · Comments · 1 min read

Install dependancy Before we install memcached we need a dependency library libevent. Check for latest stable version at https://monkey.org/~provos/libevent/ cd /usr/local/src wget http://monkey.org/~provos/libevent-1.4.13-stable.tar.gz tar -xzvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure --prefix=/usr/local make make install cd .. Install memcached Check for... Read more »

yum Missing Dependency

Wojtek on CentOS · · Comments · 1 min read

Problem Sometimes after running yum update or yum install something you’re getting missing dependency error messages. Like this: --> Missing Dependency: /usr/lib64/python2.4 is needed by package gamin-python-0.1.7-8.el5.x86_64 (installed) --> Missing Dependency: /usr/lib64/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.8.x86_64 (installed) This... Read more »