PHP.ini (max file upload size)

PHP.ini (max file upload size)

by Jason X -
Number of replies: 2

Is anyone else having trouble with the max file upload size? I've tried to edit my default php.ini file to 64M, but I still cannot upload a file anything over than 8MB. I also tried to create a new .htaccess file and put it in my moodle root folder but I get a 404 error, or it simply just does not work.

Anyone that has come across this problem, can you shed some light on how to fix? I would upload the file manually in FTP but I checked a lot of folders like /lib and /admin but did not come across my past uploaded SCORM packages (lower than 8MB). I'm currently running a hostgator dedicated server. Thanks! 

Average of ratings: -
In reply to Jason X

Re: PHP.ini (max file upload size)

by Ken Task -
Picture of Particularly helpful Moodlers

Have you checked out:

http://support.hostgator.com/articles/specialized-help/technical/adjusting-the-file-upload-or-post-size

and

http://support.hostgator.com/articles/specialized-help/technical/what-is-php-ini

Since you are remotely hosted with a provider that does have docs, hostgator docs/faqs should be your first resource.

and in relation to Moodle:

https://docs.moodle.org/30/en/File_system_repository

Shows 30 docs but should apply to version 2's as well.

https://docs.moodle.org/30/en/Course_files#Files_in_Moodle_2

'spirit of sharing', Ken

In reply to Ken Task

Re: PHP.ini (max file upload size)

by Jason X -

This helped thanks! I ended up creating a new php.ini in my root moodle folder.