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

XCache setup

Discussion in 'Server Configuration and Hosting' started by SimonV, Dec 31, 2014.

  1. SimonV

    SimonV Well-Known Member

    I'm fairly novice when it comes to server management and I just installed XCache on my server (cant use APC due to issues with the mod cgi used by plesk) and Im looking for some help and advice.

    The first issue is related to enabling the XCache Admin Panel, Im getting a 403 error when trying to view in a browser after copying the files to a spare domain I have on the server. In the error log for that domain I see "client denied by server configuration: /usr/share/xcache". Am I missing some config with this?

    Also, I have to default config set-up at the moment so I'm looking for some pointers on basic config, any resources of help from more experienced members would be great.

    Thanks.
     
  2. jwright

    jwright Active Member

    Have you considered ZendOpcache? I've always had terrible luck with xcache.
     
  3. SimonV

    SimonV Well-Known Member

    I hadnt no, XCache was the first alternative that came up when I was looking. I will do a little research on it now. :)
     
  4. jwright

    jwright Active Member

    ZendOpcache > APC > Xcache

    Edit: Also do yourself a favor and drop Plesk and get cPanel if you need a panel.
     
  5. semprot

    semprot Active Member

    I heard zend opcache can't do variable cache?
     
  6. MattW

    MattW Well-Known Member

    Correct. You need to pair it with Memcached.
     
    ForestForTrees and semprot like this.
  7. semprot

    semprot Active Member

    which is more reliable & faster ? is it :
    1. opcache + memcache (because opcache cant do variable caching), or
    2. xcache alone?
     
  8. MattW

    MattW Well-Known Member

    I have, and do currently use both (for different setups)

    Depends on what you are comfortable with. Memcache adds the TCP overhead, but that's pretty much negligible, unless you are going really big, but can scale and add additional memcached servers into the mix.
     
    semprot likes this.
  9. SimonV

    SimonV Well-Known Member

    That's what I went for in the end, Memcached as the backend cache with ZendOpcache for opcode caching. All seems to be ticking along well.


    Any suggestions on confg for Memcached, I currently have 1GB allocated but only around 90MB is used. Im new to caching so still have a lot to learn. :)
     

Share This Page