From 0aac5f4eea026e0e8d0e8417e9dc0d2486184716 Mon Sep 17 00:00:00 2001 From: tony-xlh Date: Fri, 15 Aug 2025 09:29:22 +0800 Subject: [PATCH] add max file size in HTTP-process-error.md --- _articles/faq/HTTP-process-error.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/_articles/faq/HTTP-process-error.md b/_articles/faq/HTTP-process-error.md index f0a9003b..5d6da951 100644 --- a/_articles/faq/HTTP-process-error.md +++ b/_articles/faq/HTTP-process-error.md @@ -7,7 +7,7 @@ keywords: Dynamic Web TWAIN, Error Troubleshooting, HTTP process breadcrumbText: HTTP process error description: HTTP process error date: 2021-12-03 23:26:46 +0800 -last_modified: 2024-09-19 08:47:35 +0800 +last_modified: 2025-08-14 14:09:35 +0800 --- # Error Troubleshooting @@ -78,8 +78,26 @@ When attempting to upload images using any of the HTTPUpload\*\*\* methods the u ``` - If you are using `PHP` , you can change the value in the following line in the `php.ini` file: + If you are using `PHP` , you can change the value in the following lines in the `php.ini` file and `web.config` file: + + - **php.ini** ```shell - upload_max_filesize = 2M + file_uploads = On ; Enable file uploads + upload_max_filesize = 50M ; Max single file size for uploads + post_max_size = 60M ; Max size for POST data (includes all fields and files) + max_execution_time = 300 ; Max script execution time (in seconds) + ``` + + - **web.config** + + ```xml + + + + + + + ``` +