Making changes to fgcid.conf and Apache configuration file

toffe

Active Member
Oct 3, 2017
25
1
3
Finland
cPanel Access Level
Root Administrator
Hello, I´m using PHP-FPM on my server and need to make these changes to make a plugin run on my sites. Am I going to edit httpd.conf and fgcid.conf to make these changes? How do I edit them so that they wont change on next update?


Apache configuration file


In the Apache configuration file, you need to check it meets at least the following configuration on the server’s root directory:

DirectoryIndex index.php
<Directory /var/www/html/>
Options FollowSymLinks
AllowOverride All
</Directory>


File fgcid.conf
FcgidBusyTimeout 50000
FcgidIdleScanInterval 120FcgidIdleTimeout 3600
FcgidConnectTimeout 60
FcgidIOTimeout 300
* FcgidProcessLifeTime 0
* FcgidMaxProcesses 20
* FcgidMaxProcessesPerClass 8
* FcgidMinProcessesPerClass 0
* FcgidInitialEnv RAILS_ENV production
* FcgidZombieScanInterval 12
* FcgidErrorScanInterval 12