The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FCGI and Apache suEXEC

Discussion in 'General Discussion' started by glenn0, Nov 18, 2015.

  1. glenn0

    glenn0 Active Member

    Joined:
    Jul 23, 2012
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hi,

    Hope you can help.

    I have WHM/cPanel installed on a new dedicated server. I only have access to this server and I plan on using it for web hosting.

    After adding an account/domain and installing WordPress I found that whenever I tried to add/remove plugins I was getting asked for my FTP deatils to proceed. I had never run into this before so did some reading up.

    My server was originally configured with DSO and as the PHP handler and everything else off (default install?).

    My readings lead me to believe I should change the handler to FCGI, which I did. I couldn't find enough information regarding the Apache suExec option, however.

    From the information I have given, would it be better to leave the Apache suExec option off, or it should it be turned on?

    Thank you for any help with this,

    G.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. glenn0

    glenn0 Active Member

    Joined:
    Jul 23, 2012
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hi,

    Thanks for the reply.

    Can you elaborate a little more please?

    FCGI with Apache suEXEC enabled does seem to be working for me at the moment. Are you saying DSO would be a better choice performance-wise or for other reasons?

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's acceptable to use FCGI with Apache suExec. When you enable suEXEC Apache runs CGI software as the account owner rather than as the nobody user. The warning about FCGI concerns custom settings that are sometimes required to tune performance. There's a useful comparison of the different PHP handlers at:

    Apache PHP Request Handling - EasyApache - cPanel Documentation

    Thank you.
     
  5. glenn0

    glenn0 Active Member

    Joined:
    Jul 23, 2012
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Thank you, I will doing some more reading up..

    Regards.
     
Loading...

Share This Page