Results 1 to 7 of 7
  1. #1

    Apache to nginx with php-fpm?

    Should I switch from Apache to nginx with php-fpm? Are there any downsides to doing so?


  2. #2
    Join Date
    Mar 2003
    Downsides are if your site rely on apache's modules, etc... but you will gain performance with nginx + php-fpm.
    Specially 4 You
    JoneSolutions.Com ( Jones.Solutions ) is on the net 24/7 providing stable and reliable web hosting solutions and services since 2001

  3. #3
    Join Date
    Dec 2007
    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
    Web Hosting | Reseller Hosting | Managed VPS Hosting
    99.9% Server Uptime Guarantee | 24/7 Rapid Response Tech Support | 30 Day Money Back Guarantee - Web Hosting Tutorials

  4. #4
    Join Date
    Dec 2011
    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.
    JavaPipe LLC: Global Tomcat Hosting & DDoS Mitigation Solutions
    In business since 2001 | Contact us: salesrequest[at]
    █ Remote Protection | Dedicated Servers | Virtual Servers | Unmetered VPS | Tomcat Hosting

  5. #5
    Join Date
    Sep 2012
    You can choose something in the middle. Like apache with worker|event module + php in fastcgi mode.

  6. #6
    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).

  7. #7
    Join Date
    Sep 2011
    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

Similar Threads

  1. Replies: 2
    Last Post: 05-05-2013, 04:33 PM
  2. Nginx /Apache vs. LiteSpeed vs. Nginx /PHP FPM
    By Cyrusexxp in forum Web Hosting
    Replies: 5
    Last Post: 05-12-2012, 10:52 AM
  3. Nginx w/ PHP-FPM
    By Tyler in forum Systems Management Requests
    Replies: 2
    Last Post: 11-09-2011, 02:37 AM
  4. Need help with Apache / Nginx + FPM
    By bonjurkes in forum Hosting Security and Technology
    Replies: 0
    Last Post: 07-05-2011, 05:16 PM
  5. Apache vs Nginx (mod_php VS php-fpm)
    By bostjan in forum Hosting Security and Technology
    Replies: 7
    Last Post: 06-25-2009, 07:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts