memcached in not so friendly environment

David Phillips david at
Thu Feb 8 22:39:19 UTC 2007

On 2/8/07, Brian Moon <brianm at> wrote:
> Hmm, a nice feature of the PECL client might to be allow for a host(s)
> and port to be configured in php.ini/apache conf.  That way, you could
> set the host(s) and port per VirtualHost in the Apache conf.  You can do
> this with mysql user/pass/server etc.  But, I think that just sets the
> default and the user could override it.  This would be useful for
> locking a VirtualHost into a given memcached pool.

This would only be secure if the user had no other socket access (PHP
socket support, Perl CGI scripts, security holes, etc.).

More information about the memcached mailing list