memcache.php can delete keys now
by Harun Yayli on Wednesday, July 30th, 2008 at 9:50 am under Memcached, PHP, pecl
I’m receiving great comments from everyone since I’ve posted my memcache.php script. Thank you everyone.
I’ve just finished updating the memcache.php to support key deletion.
File is now updated and you can get it from here.
It’ll be updated on the cvs of pecl/memcache soon.
enjoy.
Recent Entries
- new pecl/memcache is out with memcache.php
- memcache.php flushes servers
- memcache.php can delete keys now
- memcache.php is now part of pecl/memcache
- memcache.php goes PECL
- memcache.php stats like apc.php
- oci_bind_by_name maxlength is not so optional
- Is Sun going to buy PHP too?(PHP Quebec 2008)
- PHP APC apc_shm_create error on CLI
- Facebook’s Buggy Spam Detection
Nice script. I added an anchor around line 796, so on large lists you can directly jump to a dumped slab:
code
…
$j = 0;
foreach($items as $server => $entries) {
$j++;
echo <<< EOB
$server
Slab IdInfo
EOB;
foreach($entries as $slabId => $slab) {
$dumpUrl = $PHP_SELF.’&op=2&server=’.(array_search($server,$MEMCACHE_SERVERS)).’&dumpslab=’.$slabId.’#’.$j.’_’.$slabId;
echo
“”,
““,’‘,$slabId,’‘,”",
…
/code
Keep it up
July 31st, 2008 at 4:14 amAs expected, the code got borked… I guess you got the idea anyway.
July 31st, 2008 at 4:16 am@marcus
Thanks!
August 2nd, 2008 at 4:32 pmAwsome app!
I keep getting this error:
Notice: Undefined index: evicted in memcache.php on line 811
August 20th, 2008 at 3:38 pm