1

When I upload a large (>245 Mb) file to my MediaWiki wiki (using Upload file, same as for images), I see:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

This is a .avi file. I have set this as a permissible file type in LocalSettings.php.

How can I solve this? Is there a time out for uploading files (though this takes less than 10 seconds)?

Increasing the memory to 1024M did not work:

ini_set( 'memory_limit', '1024M' );

3 Answers3

4

check upload_max_filesize in /etc/php.ini

B14D3
  • 5,188
  • 15
  • 64
  • 83
1

Solved - it appears that this was in php.ini:

upload_max_filesize = 2M
0

check out the directory to which these image files are being uploaded has enough permissions, i dont suspect its timeout problem , the file size is not so big , its something to do with script which is handling this upload and writing to server in some dire

sashank
  • 101
  • 4