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

XF 1.2 XCache error when defining a backend cache ! Help

Discussion in 'Troubleshooting and Problems' started by smimosmile, Sep 5, 2013.

  1. smimosmile

    smimosmile Member

    I am on a dedicated server with debian wheezy and apache.
    I have installed xcache with this line command:
    apt-get install php5-xcache
    I have not done any custom settings for xcache.
    When I put on the config.php file this line:
    $config['cache']['backend'] = 'xcache';

    I recieve this error with white screen on all forum pages:

    I have checked: /var/log/apache2/error.log and /var/log/messages, found nothing related to this error.
  2. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    By default Xcache is allocated zero memory so my guess is that you should have a look at your php.ini file and see if thats the case and change it to whatever suits your server environment.
    Also which php handler are you using?
    smimosmile and MattW like this.
  3. smimosmile

    smimosmile Member

    Thank you for your reply. I am using Apache 2.0 handler.
    I have looked at xcache configuration file (/etc/php5/mods-available/xcache.ini) and found that: xcache.var_size is set to 0. I changed this value to 16M and it works! (y)

Share This Page