浏览代码

Update php.sh

FusionPBX 6 年之前
父节点
当前提交
d3e06e02ce
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ubuntu/resources/php.sh

+ 1 - 0
ubuntu/resources/php.sh

@@ -65,6 +65,7 @@ if [ ."$php_version" = ."7.2" ]; then
 fi
 sed 's#post_max_size = .*#post_max_size = 80M#g' -i $php_ini_file
 sed 's#upload_max_filesize = .*#upload_max_filesize = 80M#g' -i $php_ini_file
+sed 's#; max_input_vars = .*#max_input_vars = 8000#g' -i $php_ini_file
 
 #install ioncube
 #if [ .$cpu_architecture = .'x86' ]; then