News for hackers. Stuff that matters.
Re:Nginx has replaced Apache as the most used web server amo... by Theodores on Monday May 26, 2014 @08:38AM (#7799472)
Just give it a go. Remember you can set it up to run on another port, e.g. 81, 8080 etc. so you can get it working whilst still having Apache up and running on your site.

For popular CMS applications you can normally find some helpful .conf file to get you started.

You will also need to setup php-fpm if you are running a PHP flavoured 'LAMP' stack.

Re:Nginx has replaced Apache as the most used web server amo... by marceldegraaf on Monday May 26, 2014 @08:44AM (#7799495)
I find nginx way easier to set up than Apache, at least for "standard" (PHP, Ruby/Rails, static) applications and sites. The config file syntax is cleaner than Apache's, and setup is easy (through your favourite package manager). The memory footprint of nginx is also smaller than that of Apache (at least with default settings).
Re:Nginx has replaced Apache as the most used web server amo... by saltcod on Monday May 26, 2014 @08:50AM (#7799521)
Cool! I never thought of that!

Will it be noticeably faster than my current (tuned) Apache setup?

Re:Nginx has replaced Apache as the most used web server amo... by Theodores on Monday May 26, 2014 @01:50PM (#7800746)
Nginx is faster, however, it is possible to get Apache to be quick and it is possible to make nginx slow (I think 'if' statements are to be avoided in the config).

However, as well as speed there is also the amount of load that can be sustained. Nginx wins on this front as well as with speed.

As mentioned, run it on another port and see for yourself. When you are happy with it turn off apache on the chkconfig, set nginx to the other port, stop apache and run nginx -s reload to swap over the port. Yep, you can get the whole thing installed, tested and deployed without reboot or downtime!