Differences
This shows you the differences between two versions of the page.
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 Centos6.X] |
memcached_unix_socket [2018/01/17 22:42] qtwrk [How to use memcached in UNIX socket?] |
||
---|---|---|---|
Line 4: | Line 4: | ||
+ | |||
+ | =====Note===== | ||
Please use root privilege to the following instructions. | Please use root privilege to the following instructions. | ||
Line 57: | Line 59: | ||
-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 |
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> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||