1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Poll: FastCGI or mod_php?

Discussion in 'Plesk 10.x for Linux Suggestions and Feedback' started by Sergey L, May 25, 2012.

?

Is FastCGI good for default?

Poll closed Jun 24, 2012.
  1. FastCGI is good for default

    4 vote(s)
    80.0%
  2. FastCGI seems good, but looking for mod_ruid2 later

    0 vote(s)
    0.0%
  3. FastCGI cannot be default, please add mod_ruid2 asap

    1 vote(s)
    20.0%
  4. FastCGI cannot be default, please keep mod_php

    0 vote(s)
    0.0%
  1. Sergey L

    Sergey L Golden Pleskian Staff Member

    32
    43%
    Joined:
    Aug 10, 2006
    Messages:
    1,195
    Likes Received:
    30
    Hi,

    It seems there is a quite common problem with permissions of mod_php scripts. So many people report one of those:
    1) their PHP script cannot read files uploaded by FTP user
    2) FTP user can take files saved by PHP script
    3) PHP script cannot save files in certain directory

    They all come from the fact that mod_php is running under apache and FTP user would be a different entity. The issue is normally solved through less-secure permissions or some complicated permission trick. Alternatively people may be recommended FastCGI which is free of this problem by design.

    While professional admin, can tune their offering in Service Plans, most VPS users wouldn't know how to solve it. This makes us looking into making FastCGI a default (while mod_php would still be an option).

    So what would be your concerns against FastCGI as a default?
     
  2. JonWinter

    JonWinter New Pleskian

    12
    60%
    Joined:
    Dec 10, 2011
    Messages:
    4
    Likes Received:
    0
    wordpress and fastcgi

    with 1and1 hosting I had to set my default to cgi. same problem with rights and mod_php but could not get wordpress to run at all when php set to fastCGI.


    using 1and1 dynamic cloud hosting solution. I would like to use fastCGI as it should provide better performance and be more secure.
     
  3. Faris Raouf

    Faris Raouf Silver Pleskian Plesk Guru

    31
    30%
    Joined:
    Mar 15, 2009
    Messages:
    667
    Likes Received:
    17
    mod_ruid2 is really where we need to go here, asap. I was very surprised not to see it in Plesk 11.

    As far as I'm aware, mod_ruid2 has a lower memory footprint than FastCGI and no disadvantages that I know of.

    But as a default, yes, FastCGI rather than mod_php makes sense. Certainly it is the default for all domains we add these days, especially as customers are prone to never updating the scripts they install.
     
  4. tkalfaoglu

    tkalfaoglu Regular Pleskian

    30
    68%
    Joined:
    Oct 6, 2005
    Messages:
    290
    Likes Received:
    1
    mod_ruid2 , definitely!

    Fastcgi is too slow (resource intensive)..
    mod_php is too unsafe..
     
  5. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    With the available options, I would choose FastCGI as the default. We set this for all the service plans ..
     
Loading...