Correct Location for mod_fcgid settings in cPanel and Cloudlinux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wrender
    Member
    Forum ExplorerTechnical Associate
    • Mar 2021
    • 68

    #1

    Correct Location for mod_fcgid settings in cPanel and Cloudlinux

    Hello,

    I am just wondering where the best location would be to put mod_fcgid settings in cPanel and Cloudlinux. I couldnt find any documentation for this. I currently have the following in /usr/local/apache/conf/includes/pre_virtualhost_global.conf. Is this correct?

    Code:
    FcgidMaxRequestLen 1073741824
    
    FcgidMinProcessesPerClass 0
    
    FcgidMaxProcessesPerClass 20
    
    FcgidMaxProcesses 300
    
    FcgidIdleTimeout 300
    
    FcgidProcessLifeTime 300
    
    FcgidIdleScanInterval 150
    I have temporarily increased the idle timeout, as having issues with some php scripts timing out.
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1221

    #2
    Hi,

    The question is more about cPanel functionality, however yes keeping them in pre_virtualhost_global.conf looks to be correct.

    Comment

    Working...