lighttpd forum XCache > Variable caching

Posted by Guest (Guest)
on 27.03.2008 13:23
Is this possible to protect xcache variable key spaces between different 
virtualhosts ?

For example, I have 2 same CMS installed at /var/www/cms1.com/ and 
/var/www/cms2.com/ and want to make xcache_set('users_online', 
$somearray) in cms1 and it should not affects to cms2.

Thanks!
Posted by moo XCache
on 28.03.2008 02:46
Guest wrote:
> Is this possible to protect xcache variable key spaces between different 
> virtualhosts ?
> 
> For example, I have 2 same CMS installed at /var/www/cms1.com/ and 
> /var/www/cms2.com/ and want to make xcache_set('users_online', 
> $somearray) in cms1 and it should not affects to cms2.
> 
> Thanks!

sorry, but this is in XCache 2.0 TODO list in a optimal way. i guess i 
can do it in 1.2.x less optimally.
Posted by kot (Guest)
on 04.04.2008 15:15
Guest wrote:
> Is this possible to protect xcache variable key spaces between different 
> virtualhosts ?
> 
> For example, I have 2 same CMS installed at /var/www/cms1.com/ and 
> /var/www/cms2.com/ and want to make xcache_set('users_online', 
> $somearray) in cms1 and it should not affects to cms2.
> 
> Thanks!


Use php-cgi in chroot with php-fpm - http://php-fpm.anight.org/ and own 
php.ini settings for each virtual host :-)

good luck =)