Home > Backend Development > PHP Tutorial > memcached monitoring

memcached monitoring

WBOY
Release: 2016-07-29 09:15:16
Original
1081 people have browsed it

Recently, I used memcached for session sharing, but the session was often lost, so I checked the monitoring of memcached online.

1. Use memcachephp, download address: http://download.csdn.net/detail/wy3552128/4733588

I use wampserver and put the downloaded php file under the www path (if the release path has not been changed) )

$MEMCACHE_SERVERS[] = 'localhost:11211'; // add more as an array

You only need to change the address to the memcached address. Mine is local, and you can also add other addresses (there are many distributed ones) memcached)

2. Open the page in the browser and display the username and password

define('ADMIN_USERNAME','memcache'); // Admin Username

define('ADMIN_PASSWORD','password'); // Admin Passwordmemcached  监控

The above has introduced memcached monitoring, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template