Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
memcached_unix_socket [2018/01/17 22:37]
qtwrk [for Ubuntu 17.10, Ubuntu 16.04, Debian 8 and Debian 9]
memcached_unix_socket [2018/01/17 22:45]
qtwrk [for Ubuntu 14.04 and Debian 7]
Line 4: Line 4:
  
  
 +
 +=====Note=====
 Please use root privilege to the following instructions. Please use root privilege to the following instructions.
  
Line 76: Line 78:
 -a 0770</​code>​ -a 0770</​code>​
 and change <​code>​-u memcache</​code>​ to <​code>​-u username</​code>​ and change <​code>​-u memcache</​code>​ to <​code>​-u username</​code>​
-a username ​that runs PHP.+the same user that runs PHP
  
 3. Start memcached again <​code>​service memcached start</​code>​ 3. Start memcached again <​code>​service memcached start</​code>​
Line 83: Line 85:
 <​code>​nc -U /​path/​to/​memcached.sock</​code>​ <​code>​nc -U /​path/​to/​memcached.sock</​code>​
 and then type <​code>​stats</​code>​ and then type <​code>​stats</​code>​
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-sources: 
- 
-https://​www.orangecoat.com/​how-to/​run-memcached-as-a-socket-under-systemd-in-centos-or-rhel-7 
- 
-https://​chirale.org/​2015/​09/​04/​installing-and-configure-memcache-on-centos-7/​ 
- 
-https://​guides.wp-bullet.com/​install-latest-memcached-object-cache-wordpress-php5-debian/​ 
  • Admin
  • Last modified: 2018/01/18 15:56
  • by Lisa Clarke