Skip to main content

suexec AND mod_ruid2 in apache?

Comments

5 comments

  • cPanelMichael
    Hello :) You can configure suexec via: "WHM Home " Service Configuration " Configure PHP and suEXEC" Note that you may simply want to update your script so it does not have to run as the Apache user itself. Please also see: Mod_Ruid2 - Documentation Thank you.
    0
  • Mike St
    ]Hello :) You can configure suexec via: "WHM Home " Service Configuration " Configure PHP and suEXEC"

    Following your advice will cause this line to be added to the config: LoadModule disable_suexec_module modules/mod_disable_suexec.so I'd rather have no suexec related modules added regardless of whether or not they're statically compiled. The only user switching module I want to load is mod_ruid2. I want it so that when I execute httpd -M, I do not see this module in the list: suexec_module
    0
  • cPanelMichael
    I don't believe it's possible to do that without breaking other aspects of cPanel/WHM. Are you worried about CPU utilization when it's disabled this way? Thank you.
    0
  • Mike St
    I just want more speed and less memory usage and fewer crashes on the php-enabled server. With a standard setup, each apache child uses between 20 and 40MB ram which doesn't allow me to serve too many users. I'll be lucky if I can server 150 users simultaneously. I'd like to serve more because the world now consists of people wanting to get everything done all at once.
    0
  • cPanelMichael
    I don't believe the suexec module in it's disabled state causes any additional resource utilization compared to if it wasn't listed in the Apache modules list at all. Thank you.
    0

Please sign in to leave a comment.