LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > PHP LsPCI and APC ? ==> PHP LSAPI and APC ?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 01-15-2013, 02:02 AM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 114
+1 the scripts would be quite simple :
On user 1 :
PHP Code:
<?php
xcache_set
("mona_test150112"'This data was set by user 1'120);
print(
'mona_test15112 was set by user 1 for 120 seconds');
?>
On user 2
PHP Code:
<?php
if (xcache_isset("mona_test150112"))
{
    print 
xcache_get("mona_test150112");
}
else
{
   print (
'mona_test150112 is not set.');
}
?>
I haven't tested them as I don't have xcache yet
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:38 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.