Server (IO) error errors occur with SWFUpload uploads!
This question has been bothering me for a day, begging the great God to help! The score has been increased to 30!!
Now that's the case, I use the swfupload control to upload, and then I want to upload something 500MB, so I set it up a bit:
1. In uploadfile.php, set file_size_limit: "MB",
2. The relevant restrictions have been modified in the php.ini file, such as: Post_max_size 1024M 1024m;max_input_time 18000 18000;memory_limit 1024M 1024m;max_execution_ Time 18000 18000
However, when uploading a 550MB thing, there will still be server (IO) error errors, and it is worth mentioning that this error every time in the upload after nearly 30 seconds to appear!!
I know this is a server input and output error, but how should I modify??
My brother's on his knees.
------Solution--------------------
550M Can't you? It's too big to feel.
------Solution--------------------
Explore
This question has been bothering me for a day, begging the great God to help! The score has been increased to 30!!
Now that's the case, I use the swfupload control to upload, and then I want to upload something 500MB, so I set it up a bit:
1. In uploadfile.php, set file_size_limit: "MB",
2. The relevant restrictions have been modified in the php.ini file, such as: Post_max_size 1024M 1024m;max_inp ...
------Solution--------------------
discuss
This question has been bothering me for a day, begging the great God to help! The score has been increased to 30!!
Now that's the case, I use the swfupload control to upload, and then I want to upload something 500MB, so I set it up a bit:
1. In uploadfile.php, set file_size_limit: "MB",
2. The relevant restrictions have been modified in the php.ini file, such as: Post_max_size 1024M 1024m;max_inp ...
------Solution--------------------
discuss
This question has been bothering me for a day, begging the great God to help! The score has been increased to 30!!
Now that's the case, I use the swfupload control to upload, and then I want to upload something 500MB, so I set it up a bit:
1. In uploadfile.php, set file_size_limit: "MB",
2. The relevant restrictions have been modified in the php.ini file, such as: Post_max_size 1024M 1024m;max_inp ...
------Solution--------------------
As if the default file upload size in the php.ini configuration file is 2M, the default upload_max_filesize = 2M, that is, the file upload size is 2M, if you want to upload more than 8M files, such as 20M, you must set upload_max_filesize = 20M. However, the light setting upload_max_filesize = 20M is not capable of uploading large files, you must modify the Post_max_size option in the php.ini configuration file, which represents the maximum byte length of data that is allowed to post, and the default is 8M. If the post data exceeds the limit, then $_post and $_files will be empty. To upload a large file, you must set the value of the option to be greater than the upload_max_filesize instruction, and I generally set the upload_max_filesize and post_max_size values equal. In addition, if memory limits are enabled, the value should be less than the value of the Memory_limit option.
Additional Considerations for file uploads
When uploading large files, you will have a slow upload feeling, when more than a certain time, will report the script to execute more than 30 seconds of error, because in the php.ini configuration file max_execution_time configuration options in mischief, which represents the maximum allowable execution time per script (seconds), 0 Indicates no limit. You can adjust the value of the max_execution_time appropriately, and it is not recommended to set to 0.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service