• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xcache running from RAM

#1
Has anyone tried running xcache from RAM? If yes can anyone share how to for Debian 7.0 ? U know when you have plenty of RAM and u have to ask yourself where to use it... this new ideas comes up in your mind ;)
 

dbembibre

Active member
#2
I dont understand your question, xcache compile any php state in memory (SHM) and get the compiled version from memory.
I use xCache from version 1 in vbulletin for years and in xenforo with great results. The past week i change xcache to APC because xCache dont suppor php-Cli calls.
 
#3
I dont understand your question, xcache compile any php state in memory (SHM) and get the compiled version from memory.
I use xCache from version 1 in vbulletin for years and in xenforo with great results. The past week i change xcache to APC because xCache dont suppor php-Cli calls.
So basically xcache doesn't write anything on hard drive? Everything is in memory?

What u mean by it doesn't handle php-cli calls? Means u run any php script from shell and xcache doesn't handle it?
 

dbembibre

Active member
#4
So basically xcache doesn't write anything on hard drive? Everything is in memory?

What u mean by it doesn't handle php-cli calls? Means u run any php script from shell and xcache doesn't handle it?
Yes all opcode cachers save to shared memory.
With respect to call a php script from shell (for example you can upgrade now your xenforo forum calling the upgrade.php file from SSH) if you have xcache thisdont work, but with apc you can, because APC have a parameter to enable this.
xCache doesn't support php-cli: http://xcache.lighttpd.net/ticket/228
How APC work in Cli-mode: http://stackoverflow.com/questions/1245242/php-apc-in-cli-mode