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

Do I really need suPHP for Xenforo?

Discussion in 'Server Configuration and Hosting' started by RoldanLT, Aug 9, 2013.

  1. RoldanLT

    RoldanLT Well-Known Member

    Or is there a better alternative?
    Looks like suPHP is not good pair of APC.
    Please advice, Thanks !

    @Mike @Mike Edge @Deebs @Slavik @or any linux guru :)
     
  2. The Forum Heroes

    The Forum Heroes Well-Known Member

    No, suPHP is not good with any cache. In fact in some cases, sites are slower using suPHP with a cache then just suPHP alone. FastCGI with a cache is the best way to go imo.
     
  3. RoldanLT

    RoldanLT Well-Known Member

    Thanks, I'm now using
    • FastCGI :)
    • Apache 2.2.5
    • Php 5.4.17
    • Varnish/Nginx in front
    • APC
    • Google Mod_PageSpped
    But not yet using it on live forum.
    Any suggestion / advice for more optimization?
     
  4. The Forum Heroes

    The Forum Heroes Well-Known Member

    We had a lot of issues when we tried Varnish. New posts were caching oddly. After you posted, you would see your new post, but no one else would. Refresh and it would be gone for you too and took 5-15 minutes for anyone to see it again after. Personally for me, I like Memcache over APC, each site on the server can have it's own cache with Memcache, just run each instance on a different port. APC is a good choice too, many of our customers use it, just a personal choice for me to go Memcache. Google Mod_pagespeed I installed on my test box today but haven't had time to test it yet.
     
    RoldanLT likes this.
  5. RoldanLT

    RoldanLT Well-Known Member

    I will test that varnish issue that you've said.
     
  6. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    Did you have fastcgi_cache_purge module when you tried Varnish?
     
  7. RoldanLT

    RoldanLT Well-Known Member

    Why?
    I will try to look at it later.
     
  8. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    You would need that to tell your cache to purge whats been recently edited.
     
    RoldanLT likes this.
  9. RoldanLT

    RoldanLT Well-Known Member

    fastcgi_cache_purge and ngx_cache_purge are just the same?
     
  10. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    nginx cache purge would do the same thing. If you have nginx cache purge showing in output then you are good. I am not an expert though :)
     
    RoldanLT likes this.
  11. RoldanLT

    RoldanLT Well-Known Member

    My nginx is just use in front end.
     
  12. RoldanLT

    RoldanLT Well-Known Member

    Now using it on my Live Forum :)
    Extra modules aside from cpanel defaults are:
    APC
    Exif
    Deflate - apache module
    Fast Cgi (instead of suphp)
    ImageMagick
    Zip
    Google Mod PageSpeed
    Varnish / nginx - frontend
    Php 5.4.17
     
    Dan and The Forum Heroes like this.
  13. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    You have a nice set up there but you are screwing everything with this :

    Untitled.png

    If some one wants to attack your site they will and cloudflare will chuck you out. There is no stopping for a ddos that is well executed. Dont use their security feature. You will loose visitors and as a result advertising revenue.
     
  14. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    Deal with the attack when there is one that is good enough to bring your site down. It is no use making people wait 5 seconds.
     
  15. RoldanLT

    RoldanLT Well-Known Member

  16. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    Also keep a watch on Google webmasters tools crawl stats to see if there are any 500's.
     
  17. RoldanLT

    RoldanLT Well-Known Member

    500's ?
    I off the ddos protection on cloudflare now.
     
  18. Parminder Singh Chahal

    Parminder Singh Chahal Active Member

    Internal ser error code 500. Webmasters tools tells you if google encountered any server erros while crawling your website. With the set up you have if not done right could result into frequent 500 errors. So just keep a watch thats all.
     
    RoldanLT likes this.

Share This Page