I need a VPS/Linux Pro: Nginx FPM/Litespeed/Wordpress Server Optimization

4 replies
I am sitting over optimizing my hybrid server.

I already optimized my WP blogs as far as i can with W3 total cache, i installed APC opcode cache...

In particular, i am interested in how can i properly integrate nginx with FPM-PHP into my server.

It is running CentoOS 64bit, Cpanel, WHM.

I got nginxadmin and actually nginx is now running "in front" of my apache, but i know there is something missing, in particular to integrate FPM-PHP/Nginx which right now is not possible via easyapache. (Probably have to wait til PHP 5.4 is released)

Wondering whether someone has successfully done this, that is running nginx as main web server with wordpress - alternatively litespeed. (Litespeed craps out immediately and gives a 301 redirect on all WP sites, it seems only to work on static sites)

My apache benchmarks are still HORRIBLE, even with all optimizations in W3TC, APC as object/database cache etc.

I also optimized MySQL as far as i could.

Server has 2GB memory.
#nginx #optimization #pro #server #vps or linux
  • Profile picture of the author GeorgR.
    Update: I just tried out Varnish Cpanel plugin
    UNIXy.Net Fully Managed Servers - cPanel and DirectAdmin Varnish Script Plugin

    OMG, i cant believe how fast apache benchmark is now. APC was broken, i had APC installed but it never worked properly since apc_cache_info always showed "0 hits".

    That varnish plugin is INSANE, it speeds up my server 50x or even faster.
    Signature
    *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<--
    -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! ***
    *** HIGH QUALITY CONTENT CREATION +++ Manual Article Spinning (Thread Here) ***
    Content Creation, Blogging, Articles, Converting Sales Copy, Reviews, Ebooks, Rewrites
    {{ DiscussionBoard.errors[4056270].message }}
  • Profile picture of the author ionisis
    There are also other optimizations that you can do on the server level to make your server even faster than that, such as custom apache configs, and custom mysql configs. However, since you're using a 3rd party software (wordpress and cpanel) you may have lost all of the options.
    {{ DiscussionBoard.errors[4058232].message }}
  • Profile picture of the author GeorgR.
    Well you can always install optimizations, its just a pain since what works on one server doesnt mean it would work here *especially* with cpanel/WHM. And MySQL is actually relatively "easy" to optimize.

    As for Nginx web server, i heard multiple times now that the effort is really not worth it for the gained benefit since 99% of my sites are wordpress sites. (There is no point in "almost hosing" a server getting Nginx on it for a 2% performance gain)

    So..a simple and VERY effective solution is indeed Varnish and just keeping Apache as main web server. I just also got a CDN (MaxCDN) which was only $29 for 1TB to further offload traffic. My server FLIES now, its a difference like night and day. W3 Total Cache/Varnish/CDN = Heaven!
    Signature
    *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<--
    -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! ***
    *** HIGH QUALITY CONTENT CREATION +++ Manual Article Spinning (Thread Here) ***
    Content Creation, Blogging, Articles, Converting Sales Copy, Reviews, Ebooks, Rewrites
    {{ DiscussionBoard.errors[4060217].message }}
    • Profile picture of the author timemachine
      If you are interested in making your pages load faster I can recommend a few places to look:

      - Steve Souders is the guru of high performance, watch his Google Tech talks on youtube and read his books.
      - html5boilerplate (can't post links so google it) there are example apache and nginx config files on the site that will set your expires headers and other tweaks to get the most out of what you learn from Steve's talks.
      {{ DiscussionBoard.errors[4071474].message }}

Trending Topics