Archive for the tag 'Memcache'

SBDavid

PHP Memcache Extension with cpanel

PHP Memcache Extension with cpanel

Download the latest stable version of memcache from http://pecl.php.net/package/memcache

Download and Install

wget http://pecl.php.net/get/memcache-2.2.5.tgz
tar xvf memcache-2.2.5.tgz
cd memcache-2.2.5
phpize
./configure && make && make install

Update php.ini Configuration

Create an empty file called test.php and place this in it the php info.

Determine what php.ini file is configured.

root@host [~/php]# php -f test.php | grep “Loaded Configuration File”
Loaded Configuration File => /usr/local/lib/php.ini