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

xcache running from RAM

Discussion in 'Server Configuration and Hosting' started by hellreturn, Jul 20, 2013.

  1. hellreturn

    hellreturn Active Member

    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 ;)
  2. dbembibre

    dbembibre Active Member

    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. hellreturn

    hellreturn Active Member

    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?
  4. dbembibre

    dbembibre Active Member

    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
    hellreturn likes this.

Share This Page