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
- 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
- /etc/php/5.6/cli/conf.d/25-memcached.ini
- memcached
- memcached support => enabled
- libmemcached version => 1.0.18
- memcached.compression_factor => 1.3 => 1.3
- memcached.compression_threshold => 2000 => 2000
- memcached.compression_type => fastlz => fastlz
- memcached.serializer => php => php
- memcached.sess_binary => 0 => 0
- memcached.sess_connect_timeout => 1000 => 1000
- memcached.sess_consistent_hash => 0 => 0
- memcached.sess_lock_expire => 0 => 0
- memcached.sess_lock_max_wait => 0 => 0
- memcached.sess_lock_wait => 150000 => 150000
- memcached.sess_locking => 1 => 1
- memcached.sess_number_of_replicas => 0 => 0
- memcached.sess_prefix => memc.sess.key. => memc.sess.key.
- memcached.sess_randomize_replica_read => 0 => 0
- memcached.sess_remove_failed => 0 => 0
- memcached.sess_sasl_password => no value => no value
- memcached.sess_sasl_username => no value => no value
- memcached.store_retry_count => 2 => 2
- memcached.use_sasl => 0 => 0
- Registered save handlers => files user memcached