
01-14-2013, 05:37 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
sorry for confusion.
Quote:
however 2) 3)
is not possible in shared host environment which may have thousands of user accounts -- at the time being.
there is a workaround to meet the requirements closely. choose xcache instead of apc, while one copy of opcode cache is shared by all accounts, only admin can see the cache's content.
|
should add lsphp suEXEC daemon mode:
lsphp suEXEC daemon mode + xcache will meet the requirement closely.
however, it's close, not exactly as 2) + 3). since
Quote:
|
2) To have a single APC cache per user shared by multiple children.
|
it's per user; while for lsphp + suEXEC daemon, all users share one lsphp parent process. assume there are 1 thousand users, 2) means need 1000 parent php process; while there is only 1 parent lsphp process in lsphp + suEXEC daemon.
Quote:
|
If xcache has no protection to prevent users from accessing each other's cache set with xcache_set() and retrieved with xcache_get() then xcache has exactly the same problem as APC.
|
if this is confirmed, then there's really a problem in lsphp + suEXEC daemon mode regarding variable cache(or object cache).
however, there is no problem for opcode cache since the php scripts under each account has different path, so the opcode cache can't be accessed each other.
|