Increase Moodle File Upload Size

  • Open the PHP folder (c:\php)
  • Open php.ini (notepad, notepad++…)
  • Search for “post_max_size
  • Change the value to the number of Mb you want to allow
  • Search for  “upload_max_filesize
  • Change the value to the number of Mb you want to allow
  • Search for  “max_execution_time
  • Change the value to 600
  • Close and save your changes.


  • Restart your web server to reload PHP with the edited changes.
  • For IIS
    • Open the Start Menu on your server and select “Run”
    • Type “iisreset /RESTART
  • Apache 2 Windows Server
    • Open “Run
    • Type “httpd -k restart


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.