Installation help

 
 
Picture of Alan Hare
Re: increasing max upload size on server 2008 R2
 

Mary,

You will need to make changes in the php.ini and the web.configIIS 7.x has a limit of 30mb.  Change the values below to match your needs.

php.ini

  • upload_max_filesize = 500M
  • post_max_size = 500M

web.config

<system.webServer>
        <security>
            <requestFiltering>
                <requestLimits  maxAllowedContentLength="524288000"/>
            </requestFiltering>
        </security>
</system.webServer>

I would also suggest installing the windows PHP Manager via the Windows Web Installer.

Reference links:

 

 
Average of ratings:Useful (2)
Mary Cooch
Re: increasing max upload size on server 2008 R2
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

Hi there. Thanks very much for this - I will pass it on but - can you just confirm something - "IIS 7  has a limit  of 30MB" You mean we can't upload (through Moodle interface) anything larger than 30MB???  

 
Average of ratings: -
Mary Cooch
Re: increasing max upload size on server 2008 R2
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

(ignore my last post) He's done it - 500MB - great thanks smile

 
Average of ratings: -
Picture of Alan Hare
Re: increasing max upload size on server 2008 R2
 

The limit is imposed by default, the web.config changes the limit.

Glad I could be of assistance.

 

~Alan

 
Average of ratings: -
Picture of Sairam Mukkamala
Re: increasing max upload size on server 2008 R2
 

Hi Alan

I'm using moodle 2.4 version and IIS 7.

i want to increase the moodle upload_max_filesize from 2MB to 500MB.

I changed the upload_max_filesize and post_max_size in php.ini file and also included the following code in web.config file in php folder.

<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”2000000000″ />
</requestFiltering>
</security>

 

but still i'm getting 2MB only, what else i need to change.

please help me

Thanks in advance

 
Average of ratings: -
Picture of Sairam Mukkamala
Re: increasing max upload size on server 2008 R2
 

Reply for my last post please

 
Average of ratings: -