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

Optimized configuration

Discussion in 'Server Configuration and Hosting' started by gasg, Jan 13, 2014.

  1. gasg

    gasg Member

    Hello all I will be moving my website on a vps server, unfortunately that is not an area which I'm familiar to do by my self so I will be getting a managed package too.

    Can you please tell me the optimal configuration I will ask for them to do on the server ? Because I know if I dont ask it, it wont be installed.

    I will choose the CentOS 64bit with cpanel, yeah I know it uses alot of resources but for a newbie like me I believe its ideal. Also xcache for it (I guess)

    Im asking like what version mysql php or anything else I need to ask to be installed so I can have an optimized server.

    Thank you all from a noob :)
  2. jwright

    jwright Active Member

    With cPanel PHP 5.4 and MySQL 5.5 run great. On our XF install I've replaced MySQL with MariaDB which is an easy drop-in replacement. We've had great success with APC as well, though I've not used XF with Xcache.
    gasg likes this.
  3. RoldanLT

    RoldanLT Well-Known Member

    My XenForo Forum is powered by:
    Php 5.5.7
    MariaDB Latest 5.5
    Nginx 1.5.8
    Apc latest dev (supports php 5.5.x)
    Memcache / Mecached
  4. gasg

    gasg Member

    Thank you all for the replies, my website is running and Im happy with the speed, but if it can be faster, why shouldn't I do it ? :)

    Ive seen some websites with more than 1k members and the forums feel instant (literally) you click a link and you see all of the next page before you can blink.

    Ive sent my host support this question this is what they told me.

    So I don't know if thats the reason but I guess I will need to hire someone who can do this for me. Are there any people on the forum who specialize in such works ?

    thanks again.
  5. RoldanLT

    RoldanLT Well-Known Member

  6. MattW

    MattW Well-Known Member

    You don't need to do anything special when installing nginxcp in Cpanel, it will pass all PHP processes back down to Apache, but nginx will serve the static content (images etc).
    gasg likes this.
  7. gasg

    gasg Member

    So to get this clear I can tell them to install nginxcp in Cpanel plugin without the need of doing anything else ?
  8. MattW

    MattW Well-Known Member

    Correct :)

    All it will do is replace Apache on port 80, all requests initially hit nginx, and anything that is PHP based is then passed onto Apache on port 8080. Static content is served via nginx, and dynamic content is served via Apache.

    If you could afford the licensing, you could fully replace Apache with Litespeed. We've just done that on a site, with very good results.
    gasg likes this.
  9. gasg

    gasg Member

    Thank you for all this info, I appreciate it. I will contact my support for this.

Share This Page