On the php official website, a tool is provided to view the usage of memcached. The provided information is comprehensive. : Pecl. php. netpackagememcache. Download and decompress the file, find a file named memcache. php, copy the file to the project, and modify the files in the following places. Set
On the php official website, a tool is provided to view the usage of memcached. The provided information is comprehensive. : Http://pecl.php.net/package/memcache. Download and decompress the file, find a file named memcache. php, copy the file to the project, and modify the files in the following places. // Set
On the php official website, a tool is provided to view the usage of memcached. The provided information is comprehensive. : Http://pecl.php.net/package/memcache. Download and decompress the file, find a file named memcache. php, copy the file to the project, and modify the files in the following places.
// Set the user name and PASSWORD define ('admin _ username', 'memcac') that can access this page; define ('admin _ password', 'Password '); // set the IP address and port of the memcached server. If multiple memcached servers exist, configure multiple lines $ MEMCACHE_SERVERS [] = 'mymemcache-server1: 8080 '; $ MEMCACHE_SERVERS [] = 'mymemcache-server2: 8080 ';
Through the preceding operations, you can access http: // your domain/memcache. php to view the usage of memcached. The result is as follows.
Original article address: A Tool for viewing memcached usage in PHP. Thank you for sharing it with me.