Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011

    Question Apache mod_php for Nginx

    Since I have heard about excellent performance of Nginx, I wish to switch to Nginx; but the problem is that it runs with FastCGI. When running CGI scripts as domain owner, it consumes RAM for each domain. Having lots of domains on a server will need hundreds of MB of RAM; though with apache mod_php, it is about 100MB (no matter how many websites, but only dependent on the number of apache processes).

    I tried lighttpd, but because of this problem I switched back to apache. I want to know is there an alternative mod_php in Nginx ?

    P.S. The main problem with mod_php is less safety for multi-user servers (e.g. resellers); but I run everything under one admin account.

  2. #2
    Join Date
    Apr 2010
    North Carolina
    if it's just you, then why are you making more php-fcgi pools for each website?

  3. #3
    Join Date
    May 2011
    London, UK
    Hello etrader,
    it is often suggested to use Nginx with PHP-fpm and xCache.

    Have you tried this combination?
    Kantsev Linux Laboratories
    t: 02071832945
    Linux server management, London UK

Similar Threads

  1. Replies: 0
    Last Post: 06-03-2011, 04:57 AM
  2. Using Nginx and Apache together
    By JitsuDan in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-03-2011, 05:49 PM
    By huli in forum Web Hosting
    Replies: 6
    Last Post: 01-17-2011, 05:47 AM
  4. 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
  5. Apache with mod_php AND phpsuexec
    By giggsey in forum Hosting Security and Technology
    Replies: 7
    Last Post: 12-22-2005, 03:40 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