Wednesday, August 8, 2012

Uploading bigish files in moodle

I am constantly looking up these values in my moodle instances.  I have 3 moodle servers, each has its own version of php.ini.  In the php.ini file are three settings that I update.
  1. max_execution_time
  2. post_max_size
  3. upload_max_filesize
I have the post_max_size and the upload_max_filesize set to 200 MB in the php file on each of the 3 servers.  I then dial it down a bit in the corresponding vhost.conf file that has these settings

php_value post_max_size
php_value upload_max_filesize

The max_execution_time I have set to 120.

If I update any of these settings, I have to remember to touch the Apache controller - refresh the service to read the update.

No comments:

Post a Comment