I want to increase the size of files I can upload. I updated the values of php.ini serttings file but when I try to upload any file bigger then 10Mo I got an error. Any idea please ? (Moodle 3.5.1 ; Ubuntu server 18.04 ; Apache 2 ; PHP 7.2)
; Maximum allowed size for uploaded files.
upload_max_filesize = 60M
; Maximum size of POST data that PHP will accept.
post_max_size = 60M
; Maximum amount of memory a script may consume (128MB)
memory_limit = 128M
in coursesettings administration page , I have already moodlecourse | maxbytes is set to 60Mo after I updated php.ini file.
other setting values :
- moodlecourse | maxbytes is set to 60Mo.
- workshop | maxbytes is set to 60Mo.
- assignsubmission_file | maxbytes is set to 20Mo.
- forum_maxbytes is set to 20Mo.
- maxbytes is set to 60Mo.
I checkek in VirtualHost files and there is no varaible with LimitRequestBody.
Any idea please ?