
01-18-2013, 01:53 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,227
|
|
tested on our cPanel box, unfortunately, the issue exists.
add following code to print out current user id:
PHP Code:
$gid = `id`;
echo "<pre>gid=".$gid;
echo "</pre>";
restart lsws,
step 1: access http://www.lstest3.com/xcache.php
Quote:
gid=uid=507(lstest3) gid=503(lstest3) groups=503(lstest3)
mona_test150112 is not set.
|
step 2: access http://www.lstest.com/xcache.php
Quote:
gid=uid=504(lstestc) gid=501(lstestc) groups=501(lstestc)
mona_test15112 was set by user 1 for 120 seconds
|
step 3:access http://www.lstest3.com/xcache.php again:
Quote:
gid=uid=507(lstest3) gid=503(lstest3) groups=503(lstest3)
This data was set by user 1
|
so test result: so far don't use variable cache in suExec daemon mode in shared hosting. opcode cache is ok.
it may not be difficult for xcache to add such feature: each user(by check php process's user id) to have its own name space to store variables. or may be it already has similar feature -- configurable, need read its manual first 
|