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.

Configure Suexec and PHP

Discussion in 'General Discussion' started by adrov, Sep 23, 2009.

  1. adrov

    adrov Member

    Joined:
    Sep 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Default PHP Version (.php files) 5
    PHP 5 Handler "dso" or "cgi" or "suphp" or "fcgi" ?
    PHP 4 Handler none
    Suexec "on" or "off" ?
     
  2. webhostinghelps

    Joined:
    Sep 22, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    suphp & suexec

    PHP 5 Handler suphp
    Suexec on

    suphp is very configurable and very secure but it is slow compared to DSO.

    -------------------
    please note the following changes if you enable suphp:

    All the files and folders in the home directory of accounts should be under the ownership of account username. Nobody ownership is not allowed.

    No PHP directives (register_globals, upload_max_size, etc) are allowed in .htaccess anymore, you need to mention these directives in the account specific php.ini file.

    Folders should have maximum of 755 permissions and the php files should have 644 permissions.
    777 permissions are not allowed for security reasons.
    -------------------

    DSO is fast compared to suphp but it is insecure.

    so, fast = DSO, security = suphp

    I will prefer security. Hope you too :)
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
  4. adrov

    adrov Member

    Joined:
    Sep 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I have decided for DSO + suexec on.

    Can i change this anytime?

    I have very good security according to CSF plugin, but i lack some speed, sites especially joomla's opening so slooow...
     
  5. webhostinghelps

    Joined:
    Sep 22, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    yes, you change this setting anytime using whm >> Configure PHP and suEXEC option.
     
Loading...

Share This Page