Skip to content

Commit ef561f7

Browse files
author
Till Brehm
committed
Added: FS#2686 - set mod_fcgi max request len automatically during install
1 parent 467f40c commit ef561f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,11 @@ public function configure_apache() {
16721672
replaceLine('/etc/apache2/ports.conf', 'NameVirtualHost *:80', '# NameVirtualHost *:80', 1);
16731673
replaceLine('/etc/apache2/ports.conf', 'NameVirtualHost *:443', '# NameVirtualHost *:443', 1);
16741674
}
1675+
1676+
if(is_file('/etc/apache2/mods-available/fcgid.conf')) {
1677+
// add or modify the parameters for fcgid.conf
1678+
replaceLine('/etc/apache2/mods-available/fcgid.conf','MaxRequestLen','MaxRequestLen 15728640',1);
1679+
}
16751680

16761681
if(is_file('/etc/apache2/apache.conf')) {
16771682
if(hasLine('/etc/apache2/apache.conf', 'Include sites-enabled/', 1) == false) {

0 commit comments

Comments
 (0)