Here is a useful PHP tool for debugging Memcached. You will need this file – memcache.php.
Mac
Setup
If you do not have Apache running see the post Enable Apache on a Mac. Alternatively, try MAMP – adjust paths as necessary.
1 2 3 4 5 | |
Search for ‘php’ – this line specifically
1
| |
Uncomment it (remove the leading ‘#’) and save file.
Put memcache.php in ~/Sites/. To hit it
1
| |
memcache.php has a username/password setup
1 2 | |
Windows
If on Windows and not running Apache take a look at WAMP. In either case drop the PHP file in the appropriate place.
Telnet Debugging
For telnet to memcached
1
| |
Quick overview of the most useful telnet commands
1 2 3 4 5 | |