Needless to say, you have to find the PHP config file php.ini trouble:)
Open PHP.ini, first find
;;;;;;;;;;;;;;;;
; File uploads;
;;;;;;;;;;;;;;;;
Area, there are several parameters that affect file uploads:
File_uploads = on; switch to allow uploading of files over HTTP. The default is on, which is open
Upload_tmp_dir; files uploaded to the server where temporary files are stored, if not specified, will use the system default temporary folder
Upload_max_filesize = 8m; Hope business, that is, the maximum size allowed to upload files. Default is 2M
In
;;;;;;;;;;;;;;;;;
; Data handling;
;;;;;;;;;;;;;;;;;
Area, there is one more:
Post_max_size = 8m; The maximum value that can be received by the form Post to PHP, including all values in the form. Default is 8M
Generally, after setting the above four parameters, uploading <=8m files is not a problem, in the network normal situation.
However, if you want to upload a large volume of >8m files, only set the above four items will certainly be able to pass. Unless your network really 100m/s upload high speed, otherwise you have to care about the following parameters:
;;;;;;;;;;;;;;;;;;;
; Resource Limits;
;;;;;;;;;;;;;;;;;;;
Max_execution_time = 600; maximum time value per php page (seconds), default 30 seconds
Max_input_time = 600; The maximum time required for each PHP page to receive data, default 60 seconds
Memory_limit = 8m; max memory consumed per PHP page, default 8M
After the above parameters are modified, in the normal circumstances allowed by the network, you can upload large volume files.
Well, set it up right now and you can try it. Click on 1200 Big M file to upload
When you listen to the song, want to mm or the toilet back in the process, the program will tell you upload success ~
Test upload 200M file successfully on this machine.
luck~~
http://www.bkjia.com/PHPjc/631847.html www.bkjia.com true http://www.bkjia.com/PHPjc/631847.html techarticle Needless to say, also need to find php config file php.ini trouble: Open php.ini, first found;;;;;;;;;;;;;;;;;;;;;;; File uploads;;;;;;;;;;;;;;;;; Area, there are several of the following to affect file upload ...