[Pkg-php-commits] [php/debian-experimental] Refreshed max_file_uploads.patch, patch can be removed, it's kept to raise max_file_uploads to 50.
Ondřej Surý
ondrej at sury.org
Mon Jan 11 16:44:09 UTC 2010
---
debian/patches/max_file_uploads.patch | 33 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 34 insertions(+), 0 deletions(-)
create mode 100644 debian/patches/max_file_uploads.patch
diff --git a/debian/patches/max_file_uploads.patch b/debian/patches/max_file_uploads.patch
new file mode 100644
index 0000000..cc2ad16
--- /dev/null
+++ b/debian/patches/max_file_uploads.patch
@@ -0,0 +1,33 @@
+--- a/php.ini-dist
++++ b/php.ini-dist
+@@ -571,7 +571,7 @@ upload_max_filesize = 2M
+
+
+ ; Maximum number of files that can be uploaded via a single request
+-max_file_uploads = 20
++max_file_uploads = 50
+
+ ;;;;;;;;;;;;;;;;;;
+ ; Fopen wrappers ;
+--- a/php.ini-recommended
++++ b/php.ini-recommended
+@@ -606,7 +606,7 @@ upload_max_filesize = 2M
+
+
+ ; Maximum number of files that can be uploaded via a single request
+-max_file_uploads = 20
++max_file_uploads = 50
+
+ ;;;;;;;;;;;;;;;;;;
+ ; Fopen wrappers ;
+--- a/main/main.c
++++ b/main/main.c
+@@ -456,7 +456,7 @@ PHP_INI_BEGIN()
+ PHP_INI_ENTRY("mail.force_extra_parameters",NULL, PHP_INI_SYSTEM|PHP_INI_PERDIR, OnChangeMailForceExtra)
+ PHP_INI_ENTRY("disable_functions", "", PHP_INI_SYSTEM, NULL)
+ PHP_INI_ENTRY("disable_classes", "", PHP_INI_SYSTEM, NULL)
+- PHP_INI_ENTRY("max_file_uploads", "20", PHP_INI_SYSTEM, NULL)
++ PHP_INI_ENTRY("max_file_uploads", "50", PHP_INI_SYSTEM, NULL)
+
+ STD_PHP_INI_BOOLEAN("allow_url_fopen", "1", PHP_INI_SYSTEM, OnUpdateBool, allow_url_fopen, php_core_globals, core_globals)
+ STD_PHP_INI_BOOLEAN("allow_url_include", "0", PHP_INI_SYSTEM, OnUpdateBool, allow_url_include, php_core_globals, core_globals)
diff --git a/debian/patches/series b/debian/patches/series
index 9d98f1a..7ae4a16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -37,3 +37,4 @@ sybase-alias.patch
strcmp_null-OnUpdateErrorLog.patch
check_ini_on_modify_status.patch
gentoo/117-4_digit_year_big_endian.patch
+max_file_uploads.patch
--
1.6.3.3
More information about the Pkg-php-commits
mailing list