Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I installed memcache PHP module on Ubuntu 10.04

My Steps:

  1. install php5-memcache (http://pecl.php.net/package/memcache)

  2. restart apache

  3. get phpinfo()

    memcache
    memcache support    enabled
    Version     3.0.4
    Revision    $Revision: 1.83.2.36 $
    
    Directive   Local Value Master Value
    memcache.allow_failover 1   1
    memcache.chunk_size 32768   32768
    memcache.compress_threshold 20000   20000
    memcache.default_port   11211   11211
    memcache.hash_function  crc32   crc32
    memcache.hash_strategy  consistent  consistent
    memcache.lock_timeout   15  15
    memcache.max_failover_attempts  20  20
    memcache.protocol   ascii   ascii
    memcache.redundancy 1   1
    memcache.session_redundancy 2   2
    
  4. try to find path: /var/lib/memcache (inside memcache.ini) :

    cd /var/lib/memcache;
    

get error:

cd: /var/lib/memcache: No such file or directory

Why I don't have this directory?

Thanks,

Yosef

share|improve this question

1 Answer 1

up vote 2 down vote accepted

on our Ubuntu 10.04 with php5 with memcache support and running memached services there is also no /var/lib/memcache. For me it is not clear why you are looking for this directory at all.

Kind Regards

Stephan

share|improve this answer
    
True. Same here. And why didn't you just run "apt-get install php5-memcache" but used pecl instead? –  Henk May 11 '11 at 14:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.