Moodle: Upload Big Files
- Set post_max_size to (ex.) 1000M in php.ini.
- Set upload_max_filesize to (ex.) 1000M in php.ini.
- Check the upload_tmp_dir value on the phpinfo page. If it's empty, php use the default tmp folder. On linux, it is /tmp. Sometimes it's a mapped partition/device and it has a size. If the size is lower than 1000MB, the upload won't work. Change the size of the tmp dir!
- If there is a LimitRequestBody row in httpd.conf (apache) or in a virtual host file, change the value to 0, it means unlimited.
No comments:
Post a Comment