PHP tool for viewing memcached usage

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.