# wget http://pecl.php.net/get/memcache-2.1.2.tgz
extract
# tar -zxf memcache-2.1.2.tgz # cd memcache-2.1.2/ # phpize # ./configure --enable-memcache # make && make install
add this line on php.ini :
extension=/path/shared_library/memcache.so
restart apache
check is memcache installed properly
sidiq:~ # php -i | grep memcache memcache memcache support => enabled memcache.allow_failover => 1 => 1 memcache.chunk_size => 8192 => 8192 memcache.default_port => 11211 => 11211 memcache.max_failover_attempts => 20 => 20 Registered save handlers => files user sqlite memcache
No comments:
Post a Comment