Parameters |
Set up |
Description |
file_uploads |
on |
Is it permissible to pass http switch to upload files. The default is on that is, open |
upload_tmp_dir |
– |
files uploaded to the server where temporary files are stored, and if not specified, the system default Temp folder |
upload_max_filesize |
8m |
Look at the business, that is, the maximum size allowed to upload files. The default is 2m |
post_max_size |
8m |
refers to the form post php The maximum value that can be received, including all values in the form. The default is 8m |
Description |
generally, after setting the above four parameters, in the case of network normal, upload <=8m The file is not a problem |
But if you want to upload >8m of large-volume files, only set the above four items will certainly be able to pass. Unless your network really has a 100m/s upload speed, you still have to set the following parameters. |
Max_execution_time |
600 |
each php The maximum time value for the page to run ( seconds , the default 30 seconds |
max_input_time |
600 |
each php The maximum time required for the page to receive data, default 60 seconds |
Memory_limit |
8m |
each PHP maximum memory eaten by the page, default 8M |
This article is from "Smile_ Youth" blog, please be sure to keep this source http://smileyouth.blog.51cto.com/7273768/1660528
PHP.ini parameter explanation