Memcached install

  • Hello,


    I have use the I-MSCP for a long time. I have upgraded the i-MSCP 1.3.x -> 1.4.6.


    I have got an error about Memcached. I need use it, because my server is running Drupal sites.


    I tried re-install Memcached, but It is not succeed. I see memcached is running, but it not working my PHP sites (https://usis.me/php.php, https://usis.me/memcache_test.php)


    I would like to ask, what did I do wrong? How can I properly install it?


    Thx.
    Robert




    /etc/php/5.6/mods-available/memcached.ini
    extension=memcached.so


    #ps aux | grep memcached
    memcache 14775 0.0 0.0 329500 2516 ? Ssl 12:14 0:00 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1



    #netstat -tap | grep memcached
    tcp 0 0 admin.matrixcbs-s:11211 *:* LISTEN 14775/memcached


    #echo "stats settings" | nc localhost 11211

    Code
    1. STAT maxbytes 67108864STAT maxconns 1024STAT tcpport 11211STAT udpport 11211STAT inter 127.0.0.1STAT verbosity 0STAT oldest 0STAT evictions onSTAT domain_socket NULLSTAT umask 700STAT growth_factor 1.25STAT chunk_size 48STAT num_threads 4STAT num_threads_per_udp 4STAT stat_key_prefix :STAT detail_enabled noSTAT reqs_per_event 20STAT cas_enabled yesSTAT tcp_backlog 1024STAT binding_protocol auto-negotiateSTAT auth_enabled_sasl noSTAT item_size_max 1048576STAT maxconns_fast noSTAT hashpower_init 0STAT slab_reassign noSTAT slab_automove 0STAT lru_crawler noSTAT lru_crawler_sleep 100STAT lru_crawler_tocrawl 0STAT tail_repair_time 0STAT flush_enabled yesSTAT hash_algorithm jenkinsEND



    #php -i | grep memcache

    Edited 2 times, last by kalmarr ().

  • @kalmarr


    Code
    1. # phpenmod memcached
    2. # service php5.6-fpm restart

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thank you!

    You're welcome.
    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206