I believe there are many projects using memcache, maybe some people say a little out, but what??? Items on the project is not what you want to change will be able to change ... Nobody wants more than one thing.
, the unknown risk of large-area replacement may be unbearable, but, Memcache is a server process, the default is no visual monitoring, and can not move
To view and modify the data in the Memcache, which leads us to use memcache, like a little girl, to be extremely insecure.
One: Memadmin monitoring System
The open source world is vast, so in millions of open source projects, there will naturally be a solution to such needs, such as the memadmin here, and then I have a Wikipedia, such as:
OK, from here, you should probably see the range that memadmin can monitor. Stats,settings, items, slabs ... Wait, here we go, we put this environment
Install it up and see if it's hanging.
II: Installation of Memadmin
1. Installing Memcache
This is very simple, you can either install the Windows version of the Memcache, or a random build on CentOS, here I choose CentOS.
Memcache Official website: http://memcached.org/
On the official website you should also see the installation steps: However, be aware that you should install libevent before installing Memcache.
Then, we can follow this step to open up.
2. Install the PHP operating environment
Since Memadmin is a PHP program, you must install Apache server, for convenience, here I install the Wamp integration environment, the selected version is: 2.5
After the installation, we went to Apache httpd.conf on the default port changed, by the 8080, so that the case will not occupy 80 ports to open our site.
Three: Download the memadmin executable program
Complete successful launch, next we can download the Memadmin program. URL: http://www.junopen.com/memadmin/, we put it on Wamp after the download is complete.
The WWW directory.
Four: Installing the Memcache.dll extension
This is the most pit Dad step, memcache version to and PHP version have a corresponding relationship, that is, not casually find a memcache.dll can be installed successfully, from
Http://pecl.php.net/package/memcache website also did not find the right ... Finally the flower wiped the whole search, finally let me find ... Now that we've found it, the next step
You need to put Memcache.dll in the Ext folder, and finally in the Apache directory of the php.ini file to add a reference, such as:
Remind everyone is sure to see clearly the directory of the document Oh,,, OK, through the above steps, our installation is basically completed, the last is to modify the Memadmin site
Record name and password, here, I have changed to the default admin/admin.
Then we can open the site, is not a bit super excited feeling ... Finally add some Web site, if you understand memcache, these should be very familiar with OH ~ ~
Well, probably just like this, is not very hanging look ... Of course, more details, waiting for you to dig ~ ~ ~
Monitor our memcache with Memadmin visualization