dever 6 年之前
父節點
當前提交
36f138195b
共有 3 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      container/conf/web/php5/php.ini
  2. 2 2
      container/conf/web/php7/php.ini
  3. 3 3
      src/docker/conf/web.conf

+ 1 - 1
container/conf/web/php5/php.ini

@@ -657,7 +657,7 @@ auto_globals_jit = On
 ; Its value may be 0 to disable the limit. It is ignored if POST data reading
 ; is disabled through enable_post_data_reading.
 ; http://php.net/post-max-size
-post_max_size = 8M
+post_max_size = 80M
 
 ; Automatically add files before PHP document.
 ; http://php.net/auto-prepend-file

+ 2 - 2
container/conf/web/php7/php.ini

@@ -668,7 +668,7 @@ auto_globals_jit = On
 ; Its value may be 0 to disable the limit. It is ignored if POST data reading
 ; is disabled through enable_post_data_reading.
 ; http://php.net/post-max-size
-post_max_size = 8M
+post_max_size = 80M
 
 ; Automatically add files before PHP document.
 ; http://php.net/auto-prepend-file
@@ -822,7 +822,7 @@ file_uploads = On
 
 ; Maximum allowed size for uploaded files.
 ; http://php.net/upload-max-filesize
-upload_max_filesize = 2M
+upload_max_filesize = 20M
 
 ; Maximum number of files that can be uploaded via a single request
 max_file_uploads = 20

+ 3 - 3
src/docker/conf/web.conf

@@ -1,14 +1,14 @@
 [base]
 path = {base}
-default = mariadb,php7,nginx
+default = mysql,php7,nginx
 
-[mysql]
+[#mysql]
 #port = 3309:3306
 volumes = {container}conf/db/mysql:/etc/mysql,/data/mysql/{name}/data:/var/lib/mysql
 environment = MYSQL_ROOT_PASSWORD=123456
 alias = mysql
 
-[mariadb]
+[mysql]
 #使用mariadb来代替mysql
 image = mariadb
 #port = 3310:3306