I'm pretty sure I've modified the file upload limit in php.ini and the file permissions are writable. Modify PHP.inifile_uploads = on; switch to allow uploading of files over HTTP. The default is on, which is openupload_tmp_dir; file upload to the server where temporary files are stored, if not specified will be used the system default temporary folder (Moodle can not change)upload_max_filesize = 8m; Allows the maximum size of the uploaded file.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 8Mafter setting the four parameters above, uploading files less than 8M is generally not a problem. But if you upload a file larger than 8M, you only have to set the following parameters:in the resource Limits area:max_execution_time = +;max_input_time = 600; maximum time value per php page (seconds), default 30 secondsmemory_limit = 8m; The maximum amount of time each PHP page takes to receive data, default 60 seconds The maximum memory eaten by each PHP page, default 8M
File_uploads = on;
Upload_tmp_dir =/tmp
Upload_max_filesize = 8m
Post_max_size = 8m
Max_execution_time = 600
Max_input_time = 600
Memory_limit = 128m
If the uploaded file does not reach the size set in php.ini, it is likely that there is a limit to the file in ApacheModify the httpd.conf in the APAHCE directoryAdd the following:limitrequestbody 10485760that is 10m=10*1024*1024, restart Apache
10485760
Upload the file small ok, big bit can not pass, display (failed) net::err_connection_reset