var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Apache to nginx with php-fpm?
Should I switch from Apache to nginx with php-fpm? Are there any downsides to doing so?
Downsides are if your site rely on apache's modules, etc... but you will gain performance with nginx + php-fpm.
You can also use Nginx with Apache. Nginx will work as a front end reverse proxy.
YagHost - Pure SSD Hosting | Since 2007 | Average Response Time: 15 min █
Managed VPS Hosting
99.9% Server Uptime Guarantee
24/7 Rapid Response Tech Support
30 Day Money Back Guarantee
█ LopHost.com - Web Hosting Tutorials
It will give you a decent performance boost. However, you'll have to be aware that NGINX doesn't support .htaccess, so you'll have to make sure that this doesn't cause any issues.
Global Tomcat Hosting & DDoS Mitigation Solutions
In business since 2001 |
█ Remote Protection | Dedicated Servers | Virtual Servers | Unmetered VPS | Tomcat Hosting
You can choose something in the middle. Like apache with worker|event module + php in fastcgi mode.
As most have said, the main downside is the lack of .htaccess support with a raw nginx deployment. You shouldn't experience any issues PHP wise (as long as the version is kept the same).
nginx + Apache would offer better compatibility.
What web application(s) are you running? A lot of applications now provide documentation on how you can configure nginx so that it's compatible (instead of having .htaccess).
nginx configuration sometimes can get a bit tricky (at least for version 1.0.x) and there are less comprehensive tutorials on nginx compared to apache
By abrcam in forum VPS Hosting
Last Post: 05-05-2013, 04:33 PM
By Cyrusexxp in forum Web Hosting
Last Post: 05-12-2012, 10:52 AM
By Tyler in forum Systems Management Requests
Last Post: 11-09-2011, 02:37 AM
By bonjurkes in forum Hosting Security and Technology
Last Post: 07-05-2011, 05:16 PM
By bostjan in forum Hosting Security and Technology
Last Post: 06-25-2009, 07:19 AM