Upload file set to 8MB in an assignment doesn't work
Number of replies: 6This is not wiorking, it automatically goes back to 500kb,.
5MB is the max that can be set.
What can be the problem?
How can it be set to a bigger size?, 12 MB for example?
Re: Upload file set to 8MB in an assignment doesn't work
The maximum upload file size is stored in the PHP config file, look for the line like this
upload_max_filesize=5M
Re: Upload file set to 8MB in an assignment doesn't work
What is the file name?
In the pulldown menu I can select 8 MB, but this is not working, it goes automatacally back to 500 k
That is the problem, I didn't change something to the default settings.
You say, that it isn't a moodle problem, but a PHP problem, that can be changed in the PHP config file.
Re: Upload file set to 8MB in an assignment doesn't work
Ok, if you can select 8MB from the drop down, then it's not a PHP config issue. Not sure what it might be now. Have you looked at the FAQ looks like there are lots of places that might causing the problem?
Re: Upload file set to 8MB in an assignment doesn't work
Re: Upload file set to 8MB in an assignment doesn't work
Your php.ini file usually sets uploads to 8mb so you can double this without a problem. I use win2003 server with 11s6 so my php.ini file is in the c:\winnt folder. Whether this has an effect I am not sure as this I assume is the script size allowed, but moodle uses php script to upload the file so it is kind of one thing.. If you increase this your moodle config file size setting may stick. Also see if it is set in the database somwhere and you may be able to manually configure it in both the database and the config.php file.
Hope it helps
Steve
Re: Upload file set to 8MB in an assignment doesn't work
Try to change the value in the php.ini file. Thene restart the apache, you should be able to upload a bigger file now... Make sure you change the php.ini value of upload_max_filesize =10M
Then restart your apache...This will do the trick.