Docs

memcached

Web manager phpMemcachedAdmin is located at http://localhost:85/.

memcached is istening on the port 11211.

To connect to memcached from PHP use an extension memcache (included).

<?php
/* Creating an instance of Memcache class */
$mem = new Memcache();

/* Connecting to the server */
$mem->connect('localhost', 11211);

/* Saving value */
$mem->set('foo', 100);

/* Getting value */
$value = $mem->get('foo');
?>
Winginx © Alexei Shabalin, 2011-2023