max_input_var

pull/109/head
midoks 3 years ago
parent 7f5af31d7c
commit 0499a7b4f9
  1. 21
      plugins/php/conf/php5.ini
  2. 25
      plugins/php/conf/php7.ini
  3. 16
      plugins/php/conf/php8.ini
  4. 1
      plugins/php/index.py

@ -12,6 +12,7 @@ zend.enable_gc = On
expose_php = On
max_execution_time = 30
max_input_time = 60
max_input_var = 1000
memory_limit = 128M
error_reporting = E_ALL
display_errors = On
@ -60,12 +61,6 @@ iconv.input_encoding = ISO-8859-1
iconv.internal_encoding = ISO-8859-1
iconv.output_encoding = ISO-8859-1
[intl]
[sqlite]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.cache_size = 2000
@ -187,13 +182,7 @@ mssql.min_message_severity = 10
mssql.compatibility_mode = Off
mssql.secure_connection = Off
[Assertion]
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
@ -202,14 +191,6 @@ soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1
[mcrypt]
[dba]
[curl]
[Zend Opcache]

@ -12,7 +12,7 @@ zend.enable_gc = On
expose_php = On
max_execution_time = 30
max_input_time = 60
max_input_var = 10000
max_input_var = 1000
memory_limit = 128M
error_reporting = E_ALL
display_errors = On
@ -60,18 +60,11 @@ iconv.input_encoding = ISO-8859-1
iconv.internal_encoding = ISO-8859-1
iconv.output_encoding = ISO-8859-1
[intl]
[sqlite]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=
[Phar]
[mail function]
SMTP = localhost
@ -129,8 +122,6 @@ mysqli.reconnect = Off
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = On
[OCI8]
[PostgreSQL]
pgsql.allow_persistent = On
@ -187,13 +178,8 @@ mssql.min_message_severity = 10
mssql.compatibility_mode = Off
mssql.secure_connection = Off
[Assertion]
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
[Tidy]
tidy.clean_output = Off
[soap]
@ -206,10 +192,3 @@ soap.wsdl_cache_limit = 5
[ldap]
ldap.max_links = -1
[mcrypt]
[dba]
[curl]
[Zend Opcache]

@ -12,7 +12,7 @@ zend.enable_gc = On
expose_php = On
max_execution_time = 30
max_input_time = 60
max_input_var = 10000
max_input_var = 1000
memory_limit = 128M
error_reporting = E_ALL
display_errors = On
@ -60,18 +60,11 @@ iconv.input_encoding = ISO-8859-1
iconv.internal_encoding = ISO-8859-1
iconv.output_encoding = ISO-8859-1
[intl]
[sqlite]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=
[Phar]
[mail function]
SMTP = localhost
@ -187,13 +180,7 @@ mssql.min_message_severity = 10
mssql.compatibility_mode = Off
mssql.secure_connection = Off
[Assertion]
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
@ -202,7 +189,6 @@ soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1

@ -314,6 +314,7 @@ def getPhpConf(version):
{'name': 'asp_tags', 'type': 1, 'ps': 'ASP标签支持'},
{'name': 'max_execution_time', 'type': 2, 'ps': '最大脚本运行时间'},
{'name': 'max_input_time', 'type': 2, 'ps': '最大输入时间'},
{'name': 'max_input_var', 'type': 2, 'ps': '最大输入数量'},
{'name': 'memory_limit', 'type': 2, 'ps': '脚本内存限制'},
{'name': 'post_max_size', 'type': 2, 'ps': 'POST数据最大尺寸'},
{'name': 'file_uploads', 'type': 1, 'ps': '是否允许上传文件'},

Loading…
Cancel
Save