I'm pretty certain everything that should be set to be big has been set including:
php.ini:
upload_max_filesize = 50M
post_max_size = 55M
max_execution_time =7200
memory_limit = 256M
max_input_time = -1
FastCGI:
fullPath="C:\PHP\php-cgi.exe"
idleTimeout="3600"
activityTimeout="3600"
requestTimeout="3600"
instanceMaxRequests="10000"
web.config:
system.webServer/security/requestFiltering
requestLimits > maxallowedContentLength = 1000000
system.web/httpRuntime
maxrequestlength = 100000000
executiontimeout = 01:00:00
Moodle has picked up the maximum limit set in the php.ini file, however requests of over 20Mb return a 404 error (page not found).
It seems to be a timeout issue, because I have managed to upload a 25Mb file (although not a 38Mb file) whilst another user cannot upload anything larger than 18Mb.
Any help very, very gratefully received!!!
Thanks
John
Re: IIS 7.0 /PHP with moodle - Large Files won't upload
Re: IIS 7.0 /PHP with moodle - Large Files won't upload
Re: IIS 7.0 /PHP with moodle - Large Files won't upload
Re: IIS 7.0 /PHP with moodle - Large Files won't upload
Re: IIS 7.0 /PHP with moodle - Large Files won't upload
I've set all the PHP and FastCGI settings exactly as specified and as shown in various other posts. I can upload files up to 30 mb, any bigger than that, 404 error.
So the problem is not those variables.
But what is it?
I presume discussions of web.config and .htaccess should not be relevant under Windows?
Sadly this is a functional limitation in that an Art course could easily have student files larger than 30 mb.
Hi Colin. This post you suggested http://www.cyprich.com/2008/06/19/fixing-file-upload-size-limit-in-iis-7/ was the key. Who would believe the default file size limit in IIS 7 is 30 mb? Or that to get round it you do actually change (add) a setting
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="250000000" />
</requestFiltering>
</security>
in the <system.webServer> section of the file web.config of the appropriate web site? wow.
Anyway, much much appreciated. I can now use Moodle version 1.95 exactly as is for another three years
regards,
Dick Combeer