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

XF 1.1 FastCGI issues?

Discussion in 'Troubleshooting and Problems' started by AdamD, Nov 30, 2012.

  1. AdamD

    AdamD Well-Known Member

    Hi all,

    I'm running Xenforo on a new server, so I decided to use FastCGI rather than the default Apache DSO

    The problem I'm having is I have to keep logging in everytime I change something in the admin panel, such as modifying a style.

    It even does it when I'm simply looking through the css/template areas.

    I switched back to DSO, then SuPHP, neither have that problem, only Fastcgi, apparently.

    Any ideas?
     
  2. CyclingTribe

    CyclingTribe Well-Known Member

    Possible caching issue? Are you caching PHP differently with FastCGI than the other PHP handlers?
     
    Jake Bunce likes this.
  3. AdamD

    AdamD Well-Known Member

    Bah! It was Xcache :(
    I guess it's not working 100% right with Fastcgi, heh
    Thanks Clickfinity
     
    Jake Bunce likes this.
  4. MattW

    MattW Well-Known Member

    Correct. Xcache doesn't work with FastCGI or suPhP, because they spawn separate instances, and each one has it's own cache associated with it. If you are running either Xcache or APC, you need to run in DSO.

    They will work, but depending on which fcgi process the request hits, you can get different versions of the cache, and it will also be deleted when that process dies off.
     
    Jake Bunce likes this.
  5. CyclingTribe

    CyclingTribe Well-Known Member

  6. MattW

    MattW Well-Known Member

    I spent about a week trying to get APC and Xcache to work with FastCGI, and in the end, I changed to mod_ruid2 within cpanel to make it work, as it keeps apache running in DSO but still splits the accounts out the same way FastCGI does.
     
    Jake Bunce likes this.
  7. AdamD

    AdamD Well-Known Member

    What I've done now is removed Xcache and am running Memcache instead, it seems to be working aok...so far.
    Thanks for the tips though, much appreciated :)
     
    Jake Bunce likes this.

Share This Page