interview questions and answers

CMS Interview Questions | Moodle Interview Questions

Home interview questions CMS interview questions Moodle 
Friday, 10 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions CMS interview questions Moodle

This category contains Moodle Interview Questions and Answers


How do the limits on uploaded files work?

PDF Print E-mail

File upload sizes are restricted in a number of ways - each one in the list restricts the following ones.

1. Firstly, there is a setting in Apache 2 which you may need to change. On Redhat this setting is very low by default, you can change the limit by adding or editing a line in Apache's /etc/httpd/conf/httpd.conf and/or /etc/httpd/conf.d/php.conf with the upload size in bytes (different operating systems may have these files in different locations):

LimitRequestBody 10485760

2. PHP also has two more byte limits, which you can set in php.ini and sometimes in a .htaccess file:

php_value upload_max_filesize 50000000
php_value post_max_size 50000000

To convert from Bytes to Megabytes use this convertor

Please note that a server re-start may be required for the above changes to take effect.

3. Moodle has a site-wide limit called maxbytes that may be set in Administration > Configuration > Variables.

4. A limit may be set by teachers in the Course settings.

5. Activity modules such as Forums and Assignments have their own limits which may be set when adding or editing the activity. 




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

CMS Interview Questions | Moodle Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony