<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://docs.moodle.org/2x/ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Germanvaleroelizondo</id>
	<title>MoodleDocs - Contribucions de l&amp;#039;usuari [ca]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/2x/ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Germanvaleroelizondo"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/Especial:Contribucions/Germanvaleroelizondo"/>
	<updated>2026-05-23T11:08:16Z</updated>
	<subtitle>Contribucions de l&amp;#039;usuari</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Plantilla:Performance&amp;diff=104505</id>
		<title>Plantilla:Performance</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Plantilla:Performance&amp;diff=104505"/>
		<updated>2013-05-19T14:35:44Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added *Performance overview&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;navtrail&amp;quot;&amp;gt;[[Main page]] ► [[Managing a Moodle site]]  ► [[Performance]]  ►  [[{{PAGENAME}}]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sideblock right&amp;quot; style=&amp;quot;width: 14em;&amp;quot;&amp;gt;	&lt;br /&gt;
&amp;lt;div class=&amp;quot;header&amp;quot;&amp;gt;[[Performance]]&amp;lt;/div&amp;gt;	&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
*[[Performance recommendations]]&lt;br /&gt;
*[[Performance settings]]&lt;br /&gt;
*[[Performance overview]]&lt;br /&gt;
*[[Caching]]&lt;br /&gt;
*[[Performance FAQ]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Performance]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;This template will categorize articles that include it into [[:Category:Performance]].&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Performance_overview&amp;diff=104504</id>
		<title>Performance overview</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Performance_overview&amp;diff=104504"/>
		<updated>2013-05-19T14:34:46Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page, added Category:Performance and {{Performance}}&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Performance}}&lt;br /&gt;
This Moodle performance overview proposal page is created in response to Moodle issue [http://tracker.moodle.org/browse/MDL-35716 MDL-35716]&lt;br /&gt;
&lt;br /&gt;
The general problem from the issue seems to be the related to users not having insight into what configuration settings they have turned on or off that may affect Moodle performance.  &lt;br /&gt;
&lt;br /&gt;
My proposed solution is to create a &amp;quot;Performance overview&amp;quot; page, similar to the existing &amp;quot;Security overview&amp;quot; page that lists performance-related configuration settings for a Moodle site, along with a suggestion to what the setting should be set, and allow the user to modify individual settings by visiting the setting&#039;s link.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve added a link to a UI screenshot of what this can look like. It lists just some of the possible configuration settings that relate to performance. A new &amp;quot;Performance overview&amp;quot; page is added in the settings block: &lt;br /&gt;
Site Administration &amp;gt; Reports &amp;gt; Performance overview&lt;br /&gt;
&lt;br /&gt;
The table has three fields: configuration setting, value and suggestion. All of the settings listed on the page are configuration settings that may be relevant to Moodle performance (eg. Javascript caching). The &amp;quot;value&amp;quot; column indicates the value of the current setting (&amp;quot;enabled&amp;quot;, &amp;quot;disabled&amp;quot; or something else). The &amp;quot;suggestion&amp;quot; column is a general suggestion to what the setting should be set for best performance. The values under the &amp;quot;configuration setting&amp;quot; column are all links that point to a Moodle configuration page where the user can change that particular setting.&lt;br /&gt;
&lt;br /&gt;
UI screenshot:&lt;br /&gt;
https://docs.moodle.org/24/en/images_en/thumb/e/e5/moodle_v2.png/800px-moodle_v2.png&lt;br /&gt;
&lt;br /&gt;
One issue with creating this performance overview page is with how performance improvement suggestions are subjective. Changing the value of one particular setting may impact Moodle performance differently depending in what environment it&#039;s in. Therefore, these would be suggestions that will &amp;quot;generally&amp;quot; improve Moodle performance.&lt;br /&gt;
&lt;br /&gt;
Currently this design requires no database modifications to Moodle except maybe an addition to capabilities/permissions defined in access.php.&lt;br /&gt;
&lt;br /&gt;
[[Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
[[es:Vista general sobre desempeño]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Caching&amp;diff=104285</id>
		<title>Caching</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Caching&amp;diff=104285"/>
		<updated>2013-05-03T17:25:06Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: Added Performance advise for Moodle 2.4 with load-balanced web servers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Performance}}{{New features}}&lt;br /&gt;
&lt;br /&gt;
A cache is a collection of processed data that is kept on hand and re-used in order to avoid costly repeated database queries.&lt;br /&gt;
&lt;br /&gt;
Moodle 2.4 saw the implementation of MUC, the Moodle Universal Cache.   This new system allows certain functions of Moodle (eg string fetching) take advantage of different installed cache services (eg files, ram, memcached).&lt;br /&gt;
&lt;br /&gt;
In future versions of Moodle we will continue expanding the number of Moodle functions that use MUC, which will continue improving performance, but you can already start using it to improve your site.&lt;br /&gt;
&lt;br /&gt;
==General approach to performance testing==&lt;br /&gt;
&lt;br /&gt;
Here is the general strategy you should be taking:&lt;br /&gt;
&lt;br /&gt;
# Build a test environment that is as close to your real production instance as possible (eg hardware, software, networking, etc)&lt;br /&gt;
# Make sure to remove as many uncontrolled variables as you can from this environment (eg other services)&lt;br /&gt;
# Use a tool to place a realistic, but simulated and repeatable load upon you server. (eg jmeter or selenium).&lt;br /&gt;
# Decide on a way to measure performance of the server by capturing data (ram, load, time taken, etc)&lt;br /&gt;
# Run your load and measure a baseline performance result.&lt;br /&gt;
# Change one variable at a time, and re-run the load to see if performance gets better or worse.  Repeat as necessary.&lt;br /&gt;
# When you discover settings that result in a consistent performance improvement, apply to your production site.&lt;br /&gt;
&lt;br /&gt;
==How to use the caching settings==&lt;br /&gt;
&lt;br /&gt;
Since Moodle 2.4, Moodle has provided a caching plugin framework to give administrators the ability to control where Moodle stores cached data. For most Moodle sites the default configuration should be sufficient and it is not necessary to change the configuration. For larger Moodle sites with multiple servers, administrators may wish to use memcached, mongodb or other systems to store cache data. The cache plugin screen provides administrators with the ability to configure what cache data is stored where. &lt;br /&gt;
&lt;br /&gt;
=== Types of cache ===&lt;br /&gt;
&lt;br /&gt;
Moodle uses three types of cache to store cached data:&lt;br /&gt;
* Request cache - The request cache is available for the duration of every page request. It is not shared between users and is used and cleared on every Moodle request.&lt;br /&gt;
* Session cache - The session cache is available through a users session in Moodle.  It is not shared between users, but persists for a single user throughout their session (i.e. from when they logon til when they log off)&lt;br /&gt;
* Application cache - The application cache is a shared cache which is available for every request. It can be shared between users and the cached data can be kept indefinitely if required.&lt;br /&gt;
&lt;br /&gt;
==== Cache types and multiple-server systems ====&lt;br /&gt;
&lt;br /&gt;
If you have a system with multiple front-end web servers, the application cache must be shared between the servers. In other words, you cannot use fast local storage for the application cache, but must use shared storage or some other form of shared cache such as a shared memcache.&lt;br /&gt;
&lt;br /&gt;
The same applies to session cache, unless you use a &#039;sticky sessions&#039; mechanism to ensure that within a session, users always access the same front-end server.&lt;br /&gt;
&lt;br /&gt;
===Installed cache stores===&lt;br /&gt;
&lt;br /&gt;
This section of the administrator screen displays cache plugins which are installed on the system. It lists what the capabilities of each plugin, what type of cache they provide and provides allows a cache store to be added to the system.&lt;br /&gt;
&lt;br /&gt;
===Configured store instances===&lt;br /&gt;
 &lt;br /&gt;
This section of the administrator screen displays cache stores which have been added to the system. It gives the ability to change the cache configuration and purge the cached data.&lt;br /&gt;
&lt;br /&gt;
===Known cache definitions===&lt;br /&gt;
&lt;br /&gt;
Known cache definitions displays the caches which are in use by Moodle. Each item is an area of Moodle which is using caching. It gives the administrator the ability to configure an individual area of Moodle to use a different cache backend. For example, an administrator of a Moodle cluster may choose to make language string definitions be cached on a dedicated memcached server by using the memcached cache backend.&lt;br /&gt;
&lt;br /&gt;
==Stores used when no mapping is present==&lt;br /&gt;
&lt;br /&gt;
This section displays the default cache stores which should be used by Moodle for each type of Moodle cache. If a mapping for a cache definition does not exist then this default store will be used instead.&lt;br /&gt;
&lt;br /&gt;
==Other performance testing==&lt;br /&gt;
&lt;br /&gt;
Two links that might be useful to anyone considering testing performance on their own servers:&lt;br /&gt;
&lt;br /&gt;
* [http://www.iteachwithmoodle.com/2012/10/12/moodle-performance-testing-how-much-more-horsepower-do-each-new-versions-of-moodle-require/ Moodle performance testing: how much more horsepower do each new versions of Moodle require?]&lt;br /&gt;
* [http://www.iteachwithmoodle.com/2012/10/11/how-to-stress-test-your-moodle-server-using-loadstorm/ How to load test your Moodle server using Loadstorm]&lt;br /&gt;
&lt;br /&gt;
==Performance advise for Moodle 2.4 with load-balanced web servers==&lt;br /&gt;
&lt;br /&gt;
Performance advice: if you are running Moodle 2.4 with load-balanced web servers, don&#039;t use the default caching option that stores the data in moodledata on a shared network drive. Use memcache instead. See Tim Hunt&#039;s article on http://planet.moodle.org/ for 02 May 2013. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [https://moodle.org/mod/forum/discuss.php?d=217195 MUC is here, now what?] forum discussion&lt;br /&gt;
&lt;br /&gt;
Developer documentation:&lt;br /&gt;
* [[:dev:The Moodle Universal Cache (MUC)]]&lt;br /&gt;
* [[:dev:Cache API]]&lt;br /&gt;
* [[:dev:Cache API - Quick reference]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;br /&gt;
[[de:Caching]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Performance_recommendations&amp;diff=104284</id>
		<title>Performance recommendations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Performance_recommendations&amp;diff=104284"/>
		<updated>2013-05-03T17:17:34Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: Added Performance advise for Moodle 2.4 with load-balanced web servers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Performance}}&lt;br /&gt;
Moodle can be made to perform very well, at small usage levels or scaling up to many thousands of users. The factors involved in performance are basically the same as for any PHP-based database-driven system. When trying to optimize your server, try to focus on the factor which will make the most difference to the user. For example, if you have relatively more users browsing than accessing the database, look to improve the webserver performance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Obtain a baseline benchmark==&lt;br /&gt;
&lt;br /&gt;
Before attempting any optimization, you should obtain a baseline benchmark of the component of the system you are trying to improve. For Linux try [http://lbs.sourceforge.net/ LBS] and for Windows use the Performance Monitor. Once you have quantitative data about how your system is performing currently, you&#039;ll be able to determine if the change you have made has had any real impact.&lt;br /&gt;
&lt;br /&gt;
The overall aim of adjustments to improve performance is to use RAM (cacheing) and to reduce disk-based activity. It is especially important to try to eliminate swap file usage as much as you can. If your system starts swapping, this is a sign that you need more RAM. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;optimization order preference&#039;&#039;&#039; is usually: primary storage (more RAM), secondary storage (faster hard disks/improved hard disk configuration), processor (more and faster).&lt;br /&gt;
&lt;br /&gt;
==Scalability==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s design (with clear separation of application layers) allows for strongly scalable setups. (Please check the list of [[Large installations|large Moodle installations]].)&lt;br /&gt;
&lt;br /&gt;
Large sites usually separate the web server and database onto separate servers, although for smaller installations this is typically not necessary.&lt;br /&gt;
&lt;br /&gt;
It is possible to load-balance a Moodle installation, for example by using more than one webserver. The separate webservers should query the same database and refer to the same filestore area, but otherwise the separation of the application layers is complete enough to make this kind of clustering feasible. Similarly, the database could be a cluster of servers (e.g. a MySQL cluster), but this is not an easy task and you should seek expert support, e.g. from a Moodle Partner.&lt;br /&gt;
&lt;br /&gt;
===Server cluster===&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=57202 Moodle clustering]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=44470 Software load balancing]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=49986 TCP load balancing]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=88214 Installation for 3000 simultaneous users]&lt;br /&gt;
&lt;br /&gt;
==Hardware configuration==&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: The fastest and most effective change that you can make to improve performance is to &#039;&#039;&#039;increase the amount of RAM on your web server&#039;&#039;&#039; - get as much as possible (e.g. 4GB or more). Increasing primary memory will reduce the need for processes to swap to disk and will enable your server to handle more users.&lt;br /&gt;
* Better performance is gained by obtaining the best &#039;&#039;&#039;processor capability&#039;&#039;&#039; you can, i.e. dual or dual core processors. A modern BIOS should allow you to enable hyperthreading, but check if this makes a difference to the overall performance of the processors by using a [http://en.wikipedia.org/wiki/Super_PI CPU benchmarking tool].&lt;br /&gt;
* If you can afford them, use &#039;&#039;&#039;SCSI hard disks&#039;&#039;&#039; instead of SATA drives. SATA drives will increase your system&#039;s CPU utilization, whereas SCSI drives have their own integrated processors and come into their own when you have multiple drives. If you must have SATA drives, check that your motherboard and the drives themselves support NCQ (Native Command Queuing).&lt;br /&gt;
* Purchase hard disks with a &#039;&#039;&#039;low seek time&#039;&#039;&#039;. This will improve the overall speed of your system, especially when accessing Moodle&#039;s reports.&lt;br /&gt;
* Size your &#039;&#039;&#039;swap file&#039;&#039;&#039; correctly. The general advice is to set it to 4 x physical RAM.&lt;br /&gt;
* Use a &#039;&#039;&#039;RAID disk system&#039;&#039;&#039;. Although there are many different RAID configurations you can create, the following generally works best:&lt;br /&gt;
** install a hardware RAID controller (if you can)&lt;br /&gt;
** the operating system and swap drive on one set of disks configured as RAID-1.&lt;br /&gt;
** Moodle, Web server and Database server on another set of disks configured as RAID-5.&lt;br /&gt;
* Use &#039;&#039;&#039;gigabit ethernet&#039;&#039;&#039; for improved latency and throughput. This is especially important when you have your webserver and database server separated out on different hosts.&lt;br /&gt;
* Check the settings on your &#039;&#039;&#039;network card&#039;&#039;&#039;. You may get an improvement in performance by increasing the use of buffers and transmit/receive descriptors (balance this with processor and memory overheads) and off-loading TCP checksum calculation onto the card instead of the OS.&lt;br /&gt;
*  Read this [http://moodle.org/mod/forum/discuss.php?d=68579 Case Study] on a server stress test with 300 users.  &lt;br /&gt;
* See this [http://elearning.sgu.ac.jp/doc/PT/ accompanying report] on network traffic and server loads.&lt;br /&gt;
* See the [[Moodle.org configuration]]&lt;br /&gt;
* Also see this SFSU presentation at Educause (using VMWare): [http://www.educause.edu/Resources/AnOpenSourceLMSforaMissionCrit/162843]&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
* You can use [http://en.wikipedia.org/wiki/Linux Linux](recommended), Unix-based, Windows or Mac OS X for the server &#039;&#039;&#039;operating system&#039;&#039;&#039;. *nix operating systems generally require less memory than Mac OS X or Windows servers for doing the same task as the server is configured with just a shell interface. Additionally Linux does not have licensing fees attached, but can have a big learning curve if you&#039;re used to another operating system. If you have a large number of processors running SMP, you may also want to consider using a highly tuned OS such as [http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris].&lt;br /&gt;
* Check your own OS and &#039;&#039;&#039;vendor specific instructions&#039;&#039;&#039; for optimization steps.&lt;br /&gt;
** For Linux look at the [http://linuxperf.sourceforge.net/ Linux Performance Team] site. &lt;br /&gt;
** For Linux investigate the hdparm command, e.g. hdparm -m16 -d1 can be used to enable read/write on multiple sectors and DMA. Mount disks with the async and noatime options.&lt;br /&gt;
** For Windows set the sever to be optimized for network applications (Control Panel, Network Connections, LAN connection, Properties, File &amp;amp; Printer Sharing for Microsoft Networks, Properties, Optimization). You can also search the [http://technet.microsoft.com/ Microsoft TechNet site] for optimization documents.&lt;br /&gt;
&lt;br /&gt;
==Web server performance==&lt;br /&gt;
&lt;br /&gt;
Installing [http://www.mozilla.com/en-US/ Firefox] and the [https://addons.mozilla.org/en-US/firefox/addon/1843 firebug] extension will allow you to watch the time it takes for each page component to load. Also, the [https://addons.mozilla.org/en-US/firefox/addon/5369 Yslow] extension will evaluate your page against Yahoo&#039;s [http://www.skrenta.com/2007/05/14_rules_for_fast_web_pages_by_1.html 14 rules], full text [http://developer.yahoo.com/performance/rules.html Best Practices for Speeding Up Your Web Site], &amp;lt;strike&amp;gt;([http://video.yahoo.com/video/play?vid=1040890 video])&amp;lt;/strike&amp;gt; for fast loading websites.&lt;br /&gt;
&lt;br /&gt;
===PHP performance===&lt;br /&gt;
* You are strongly recommended to use a &#039;&#039;&#039;PHP accelerator&#039;&#039;&#039; to ease CPU load, such as [http://pecl.php.net/apc APC], [http://www.php-accelerator.co.uk/ PHPA], [http://trac.lighttpd.net/xcache/ Xcache], [http://sourceforge.net/projects/wincache WinCache] or [http://eaccelerator.net/ eAccelerator]. (Take care to choose a PHP accelerator that is known to work well with your version of PHP and note that Turck MMCache is [http://turckmmcache.exeprod.com/TheManifestoEnglish no longer maintained] and can cause failures with PHP 5). &lt;br /&gt;
* Improvements in read/write performance can be improved by putting the cached PHP pages on a [[TMPFS]] filesystem - but remember that you&#039;ll lose the cache contents when there is a power failure or the server is rebooted.&lt;br /&gt;
* Performance of PHP is better when installed as an &#039;&#039;&#039;Apache/IIS6 ISAPI module&#039;&#039;&#039; (rather than a CGI). IIS 7.0/7.5 (Windows Server 2008/R2) users should choose a FastCGI installation for best performance.&lt;br /&gt;
* Also check the &#039;&#039;&#039;memory_limit&#039;&#039;&#039; in php.ini, reduce it to 16M for Moodle version earlier than 1.7 ([http://moodle.org/mod/forum/discuss.php?d=39656 See this forum discussion]). For Moodle 1.7 or later, it is recommended that the value of memory_limit should be 40M. As of [http://www.php.net/ChangeLog-5.php PHP 5.2.1] the default value for the memory_limit directive is 128M.&lt;br /&gt;
* Also see [[PHP_settings_by_Moodle_version]]&lt;br /&gt;
&lt;br /&gt;
===Install HowTo===&lt;br /&gt;
* [http://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html APC on CentOS 5.x (linux)]&lt;br /&gt;
* [http://fplanque.com/dev/linux/install-apc-php-cache-debian-lenny APC on Debian (linux)]&lt;br /&gt;
* [http://www.linuxtuts.net/211-installing-memcached-php5-memcache-module-debian-apache2.html MemCache module on Debian (Apache2 and PHP5) ]&lt;br /&gt;
* [http://noveckg.blogspot.com/2010/03/installing-memcached-on-centos-5x.html Installing Memcache on CentOS 5.x (linux)]&lt;br /&gt;
* [http://noveckg.blogspot.com/2010/02/installing-eaccelerator-cache-for-php.html Installing eAccelerator on CentOS 5.x (linux)]&lt;br /&gt;
* [https://docs.moodle.org/en/Installing_eAccelerator_In_Ubuntu_Server/ Installing eAccelerator on Ubuntu Server (linux)]&lt;br /&gt;
&lt;br /&gt;
===Apache performance===&lt;br /&gt;
* If you are using Apache on a Windows server, use the build from [http://www.apachelounge.com Apache Lounge] which is reported to have [http://moodle.org/mod/forum/discuss.php?d=93358 performance and stability improvements] compared to the official Apache download. Note that this is an unofficial build, so may not keep up with official releases.&lt;br /&gt;
* Set the &#039;&#039;&#039;MaxClients&#039;&#039;&#039; directive correctly. Use this formula to help (which uses 80% of available memory to leave room for spare):&lt;br /&gt;
 MaxClients = Total available memory * 80% / Max memory usage of apache process&lt;br /&gt;
:Memory usage of apache process is usually 10MB but Moodle can easily use up to 100MB per process, so a general rule of thumb is to divide your available memory in megabytes by 100 to get a conservative setting for MaxClients. You are quite likely to find yourself lowering the MaxClients from its default of 150 on a Moodle server. To get a more accurate estimate read the value from the shell command:&lt;br /&gt;
 #ps -ylC httpd --sort:rss&lt;br /&gt;
&lt;br /&gt;
:If you need to increase the value of &#039;&#039;&#039;MaxClients&#039;&#039;&#039; beyond 256, you will also need to set the &#039;&#039;&#039;ServerLimit&#039;&#039;&#039; directive. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: Do not be tempted to set the value of MaxClients higher than your available memory as your server will consume more RAM than available and start to swap to disk. &lt;br /&gt;
* Consider reducing the &#039;&#039;&#039;number of modules&#039;&#039;&#039; that Apache loads in the httpd.conf file to the minumum necessary to reduce the memory needed. &lt;br /&gt;
* Use the &#039;&#039;&#039;latest version of Apache&#039;&#039;&#039; - Apache 2 has an improved memory model which reduces memory usage further.&lt;br /&gt;
* For Unix/Linux systems, consider lowering &#039;&#039;&#039;MaxRequestsPerChild&#039;&#039;&#039; in httpd.conf to as low as 20-30 (if you set it any lower the overhead of forking begins to outweigh the benefits). &lt;br /&gt;
* For a heavily loaded server, consider setting &#039;&#039;&#039;KeepAlive Off&#039;&#039;&#039; (do this only if your Moodle pages do not contain links to resources or uploaded images) or lowering the &#039;&#039;&#039;KeepAliveTimeout&#039;&#039;&#039; to between 2 and 5. The default is 15 (seconds) - the higher the value the more server processes will be kept waiting for possibly idle connections. A more accurate value for KeepAliveTimeout is obtained by observing how long it takes your users to download a page. After altering any of the KeepAlive variables, monitor your CPU utilization as there may be an additional overhead in initiating more worker processes/threads.&lt;br /&gt;
* As an alternative to using KeepAlive Off, consider setting-up a &#039;&#039;&#039;Reverse Proxy server&#039;&#039;&#039; infront of the Moodle server to cache HTML files with images. You can then return Apache to using keep-alives on the Moodle server.&lt;br /&gt;
* If you do not use a .htaccess file, set the &#039;&#039;&#039;AllowOverride&#039;&#039;&#039; variable to AllowOverride None to prevent .htaccess lookups.&lt;br /&gt;
* Set &#039;&#039;&#039;DirectoryIndex&#039;&#039;&#039; correctly so as to avoid content-negotiation. Here&#039;s an example from a production server:&lt;br /&gt;
 DirectoryIndex index.php index.html index.htm&lt;br /&gt;
* Unless you are doing development work on the server, set &#039;&#039;&#039;ExtendedStatus Off&#039;&#039;&#039; and disable mod_info as well as mod_status.&lt;br /&gt;
* Leave &#039;&#039;&#039;HostnameLookups Off&#039;&#039;&#039; (as default) to reduce DNS latency.&lt;br /&gt;
* Consider reducing the value of &#039;&#039;&#039;TimeOut&#039;&#039;&#039; to between 30 to 60 (seconds). &lt;br /&gt;
* For the &#039;&#039;&#039;Options directive&#039;&#039;&#039;, avoid Options Multiviews as this performs a directory scan. To reduce disk I/O further use&lt;br /&gt;
 Options -Indexes FollowSymLinks&lt;br /&gt;
*&#039;&#039;&#039;Caching (absolutely unsupported, Moodle 1.9 only)&#039;&#039;&#039; &#039;&#039;Please note that this kind of caching creates major problems during upgrades, you need to remove the caching directives one week before any upgrade.&#039;&#039; Apache can be told to make pages load a lot faster by specifying that the browser should cache some various page elements such as images and reuse them from local memory rather than ask for them again every time a page is requested. How to do this varies slightly between OSes but there are two basic steps:&lt;br /&gt;
&lt;br /&gt;
# Install and enable mod_expires - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;IfModule mod_expires.c&amp;gt;&lt;br /&gt;
  ExpiresActive On&lt;br /&gt;
  ExpiresDefault &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType text/html &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType image/gif &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/jpeg &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/png &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/css &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType application/x-javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/xml &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The effect is to make everything stay in the cache except HTML and XML, which change dynamically. It&#039;s possible to gain a several hundred percent decrease in load times this way. Adjust the cache times according to how often your images etc change.&lt;br /&gt;
&lt;br /&gt;
* Compression reduces response times by reducing the size of the HTTP response&lt;br /&gt;
# Install and enable mod_deflate - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;ifModule mod_deflate.c&amp;gt;&lt;br /&gt;
   AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
 &amp;lt;/ifmodule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More info: [http://metaskills.net/2006/02/19/how-to-control-browser-caching-with-apache-2/ www.metaskills.net]&lt;br /&gt;
&lt;br /&gt;
===IIS performance===&lt;br /&gt;
All alter this location in the registry:&lt;br /&gt;
 HKLM\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\&lt;br /&gt;
* The equivalent to KeepAliveTimeout is &#039;&#039;&#039;ListenBackLog&#039;&#039;&#039; (IIS - registry location is HKLM\ SYSTEM\ CurrentControlSet\ Services\ Inetinfo\ Parameters). Set this to between 2 to 5.&lt;br /&gt;
*Change the &#039;&#039;&#039;MemCacheSize&#039;&#039;&#039; value to adjust the amount of memory (Mb) that IIS will use for its file cache (50% of available memory by default).&lt;br /&gt;
*Change the &#039;&#039;&#039;MaxCachedFileSize&#039;&#039;&#039; to adjust the maximum size of a file cached in the file cache in bytes. Default is 262,144 (256K).&lt;br /&gt;
*Create a new DWORD called &#039;&#039;&#039;ObjectCacheTTL&#039;&#039;&#039; to change the length of time (in milliseconds) that objects in the cache are held in memory. Default is 30,000 milliseconds (30 seconds).&lt;br /&gt;
&lt;br /&gt;
===Lighttpd, NginX and Cherokee performance===&lt;br /&gt;
You can increase server performance by using a &#039;&#039;&#039;light-weight&#039;&#039;&#039; webserver like [http://www.lighttpd.net/ lighttpd],  [http://nginx.net/ nginx] or [http://www.cherokee-project.com/ cherokee] in combination with PHP in FastCGI-mode. Lighttpd was originally created as a proof-of-concept[http://www.lighttpd.net/story] to address the [http://www.kegel.com/c10k.html C10k problem] and while primarily recommended for memory-limited servers, its design origins and asynchronous-IO model make it a suitable and proven[http://blog.lighttpd.net/articles/2006/12/28/lighttpd-powers-5-alexa-top-250-sites] alternative HTTP server for high-load websites and web apps, including Moodle. See the [[lighttpd | MoodleDocs Lighttpd page]] for additional information, configuration example and links.&lt;br /&gt;
&lt;br /&gt;
Alternatively, both [http://www.lighttpd.net/ lighttpd] and [http://nginx.net/ nginx] are capable of performing as a load-balancer and/or reverse-proxy to alleviate load on back-end servers[http://www.linuxjournal.com/article/10108], providing benefit without requiring an actual software change on existing servers.&lt;br /&gt;
&lt;br /&gt;
Do note that these are likely to be the least tested server environments of all particularly if you are using advanced features such as web services and/or Moodle Networking. They are probably best considered for heavily used Moodle sites with relatively simple configurations.&lt;br /&gt;
&lt;br /&gt;
==Database performance==&lt;br /&gt;
&lt;br /&gt;
Moodle contains a script which will display some key database performance statistics from the [http://phplens.com/lens/adodb/docs-perf.htm ADOdb performance monitor]. Run the script in your browser as in the following example:&lt;br /&gt;
&lt;br /&gt;
 http://www.mymoodle.com/admin/dbperformance.php&lt;br /&gt;
&lt;br /&gt;
Use the data displayed as a guide to tune and improve the performance of your database server.&lt;br /&gt;
&lt;br /&gt;
===MySQL performance===&lt;br /&gt;
&lt;br /&gt;
The following are MySQL specific settings which can be adjusted for better performance in your my.cnf (my.ini in Windows). The file contains a list of settings and their values. To see the current values use these commands&lt;br /&gt;
 SHOW STATUS;&lt;br /&gt;
 SHOW VARIABLES; &lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: You must make backups of your database before attempting to change any MySQL server configuration. After any change to the my.cnf, restart mysqld.&lt;br /&gt;
&lt;br /&gt;
If you are able, the [http://mysqltuner.com/ MySQLTuner] tool can be run against your MySQL server and will calculate appropriate configuration values for most of the following settings based on your current load, status and variables automatically.&lt;br /&gt;
&lt;br /&gt;
* Enable the &#039;&#039;&#039;query cache&#039;&#039;&#039; with &lt;br /&gt;
 query_cache_type = 1. &lt;br /&gt;
For most Moodle installs, set the following:&lt;br /&gt;
 query_cache_size = 36M &lt;br /&gt;
 query_cache_min_res_unit = 2K. &lt;br /&gt;
The query cache will improve performance if you are doing few updates on the database. &lt;br /&gt;
* Set the &#039;&#039;&#039;table cache&#039;&#039;&#039; correctly. For Moodle 1.6 set &lt;br /&gt;
 table_cache = 256 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min), and for Moodle 1.7 set &lt;br /&gt;
 table_cache = 512 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min). The table cache is used by all threads (connections), so monitor the value of opened_tables to further adjust - if opened_tables &amp;gt; 3 * table_cache(table_open_cache in MySQL &amp;gt; 5.1.2) then increase table_cache upto your OS limit. Note also that the figure for table_cache will also change depending on the number of modules and plugins you have installed. Find the number for your server by executing the mysql statement below. Look at the number returned and set table_cache to this value.&lt;br /&gt;
 mysql&amp;gt;SELECT COUNT(table_name) FROM information_schema.tables WHERE table_schema=&#039;yourmoodledbname&#039;;&lt;br /&gt;
* Set the &#039;&#039;&#039;thread cache&#039;&#039;&#039; correctly. Adjust the value so that your thread cache utilization is as close to 100% as possible by this formula:&lt;br /&gt;
 thread cache utilization (%) = (threads_created / connections) * 100&lt;br /&gt;
* The &#039;&#039;&#039;key buffer&#039;&#039;&#039; can improve the access speed to Moodle&#039;s SELECT queries. The correct size depends on the size of the index files (.myi) and in Moodle 1.6 or later (without any additional modules and plugins), the recommendation for this value is key_buffer_size = 32M. Ideally you want the database to be reading once from the disk for every 100 requests so monitor that the value is suitable for your install by adjusting the value of key_buffer_size so that the following formulas are true:&lt;br /&gt;
 key_read / key_read_requests &amp;lt; 0.01&lt;br /&gt;
 key_write / key_write_requests &amp;lt;= 1.0&lt;br /&gt;
* Set the &#039;&#039;&#039;maximum number of connections&#039;&#039;&#039; so that your users will not see a &amp;quot;Too many connections&amp;quot; message. Be careful that this may have an impact on the total memory used. MySQL connections usually last for milliseconds, so it is unusual even for a heavily loaded server for this value to be over 200.&lt;br /&gt;
* Manage &#039;&#039;&#039;high burst activity&#039;&#039;&#039;. If your Moodle install uses a lot of quizzes and you are experiencing performance problems (check by monitoring the value of threads_connected - it should not be rising) consider increasing the value of back_log.&lt;br /&gt;
* &#039;&#039;&#039;Optimize your tables weekly and after upgrading Moodle&#039;&#039;&#039;. It is good practice to also optimize your tables after performing a large data deletion exercise, e.g. at the end of your semester or academic year. This will ensure that index files are up to date. Backup your database first and then use:&lt;br /&gt;
 mysql&amp;gt;CHECK TABLE mdl_tablename;&lt;br /&gt;
 mysql&amp;gt;OPTIMIZE TABLE mdl_tablename;&lt;br /&gt;
:The common tables in Moodle to check are mdl_course_sections, mdl_forum_posts, mdl_log and mdl_sessions (if using dbsessions). Any errors need to be corrected using REPAIR TABLE (see the [http://dev.mysql.com/doc/refman/5.0/en/repair-table.html MySQL manual] and this [http://moodle.org/mod/forum/discuss.php?d=58208#p279638 forum script]).&lt;br /&gt;
* &#039;&#039;&#039;Maintain the key distribution&#039;&#039;&#039;. Every month or so it is a good idea to stop the mysql server and run these myisamchk commands.&lt;br /&gt;
 #myisamchk -a -S /pathtomysql/data/moodledir/*.MYI&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: You must stop the mysql database process (mysqld) before running any myisamchk command. If you do not, you risk data loss.&lt;br /&gt;
* Reduce the number of &#039;&#039;&#039;temporary tables saved to disk&#039;&#039;&#039;. Check this with the created_tmp_disk_tables value. If this is relatively large (&amp;gt;5%) increase tmp_table_size until you see a reduction. Note that this will have an impact on RAM usage.&lt;br /&gt;
&lt;br /&gt;
===PostgreSQL performance===&lt;br /&gt;
&lt;br /&gt;
There are some good papers around on tuning PostgreSQL (like [http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server this one]), and Moodle&#039;s case does not seem to be different to the general case.&lt;br /&gt;
&lt;br /&gt;
The first thing to recognise is that if you really need to worry about tuning you should be using a separate machine for the database server. If you are not using a separate machine then the answers to many performance questions are substantially muddied by the memory requirements of the rest of the application.&lt;br /&gt;
&lt;br /&gt;
You should probably &#039;&#039;&#039;enable autovacuum&#039;&#039;&#039;, unless you know what you are doing. Many e-learning sites have predictable periods of low use, so disabling autovacuum and running a specific vacuum at those times can be a good option. Or perhaps leave autovacuum running but do a full vacuum weekly in a quiet period.&lt;br /&gt;
&lt;br /&gt;
Set &#039;&#039;&#039;shared_buffers&#039;&#039;&#039; to something reasonable. For versions up to 8.1 my testing has shown that peak performance is almost always obtained with buffers &amp;lt; 10000, so if you are using such a version, and have more than 512M of RAM just set shared_buffers to 10,000 (8MB).&lt;br /&gt;
&lt;br /&gt;
The buffer management had a big overhaul in 8.2 and &amp;quot;reasonable&amp;quot; is now a much larger number. I have not conducted performance tests with 8.2, but the recommendations from others are generally that you should now scale shared_buffers much more with memory and may continue to reap benefits even up to values like 100,000 (80MB). Consider using 1-2% of system RAM.&lt;br /&gt;
&lt;br /&gt;
PostgreSQL will also assume that the operating system is caching its files, so setting &#039;&#039;&#039;effective_cache_size&#039;&#039;&#039; to a reasonable value is also a good idea. A reasonable value will usually be (total RAM - RAM in use by programs). If you are running Linux and leave the system running for a day or two you can look at &#039;free&#039; and under the &#039;cached&#039; column you will see what it currently is. Consider taking that number (which is kB) and dividing it by 10 (i.e. allow 20% for other programs cache needs and then divide by 8 to get pages). If you are not using a dedicated database server you will need to decrease that value to account for usage by other programs.&lt;br /&gt;
&lt;br /&gt;
Some other useful parameters that can have positive effects, and the values I would typically set them to on a machine with 4G RAM, are:&lt;br /&gt;
&lt;br /&gt;
 work_mem = 10240&lt;br /&gt;
&lt;br /&gt;
That&#039;s 10M of RAM to use instead of on-disk sorting and so forth. That can give a big speed increase, but it is per connection and 200 connections * 10M is 2G, so it can theoretically chew up a lot of RAM.&lt;br /&gt;
&lt;br /&gt;
 maintenance_work_mem = 163840&lt;br /&gt;
&lt;br /&gt;
That&#039;s 160M of RAM which will be used by (e.g.) VACUUM, index rebuild, cluster and so forth. This should only be used periodically and should be freed when those processes exit, so I believe it is well worth while.&lt;br /&gt;
&lt;br /&gt;
 max_fsm_pages = 100000&lt;br /&gt;
 max_fsm_relations = 5000&lt;br /&gt;
&lt;br /&gt;
These are used to hold the free-space map, and if they are too small you will see performance degradation after the database has been operating for some time. The exact numbers to set can be gleaned from the output of VACUUM VERBOSE, which prints the required FSM pages at the end of it&#039;s run. The 5x increase seems to be useful for a Moodle installation, from experience.&lt;br /&gt;
&lt;br /&gt;
 wal_buffers = 64&lt;br /&gt;
&lt;br /&gt;
These buffers are used for the write-ahead log, and there have been a number of reports on the PostgreSQL mailing lists of improvement from this level of increase.&lt;br /&gt;
&lt;br /&gt;
This is a little out of date now (version 8.0) but still worth a read: http://www.powerpostgresql.com/Docs&lt;br /&gt;
&lt;br /&gt;
And there is lots of good stuff here as well: http://www.varlena.com/GeneralBits/Tidbits/index.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Based on Andrew McMillan&#039;s post at [http://moodle.org/mod/forum/discuss.php?d=68558 Tuning PostgreSQL] forum thread.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Other database performance links===&lt;br /&gt;
* Consider using a &#039;&#039;&#039;distributed cacheing system&#039;&#039;&#039; like [http://en.wikipedia.org/wiki/Memcached memcached] but note that memcached does not have any security features so it should be used behind a firewall.&lt;br /&gt;
* Consider using PostgreSQL. See [[Arguments in favour of PostgreSQL]] and [http://moodle.org/mod/forum/discuss.php?d=49195 how to migrate from MySQL to PostgreSQL] (forum discussion).&lt;br /&gt;
* [[Increasing the database connection lifetime | Try increasing the database connection lifetime]]&lt;br /&gt;
* [http://dev.mysql.com/doc/refman/5.0/en/server-parameters.html General advice on tuning MySQL parameters] (advice from the MySQL manual)&lt;br /&gt;
* [http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/ InnoDB performance optimization] taken from the [http://www.mysqlperformanceblog.com/ MySQL performance blog] site.&lt;br /&gt;
&lt;br /&gt;
==Performance of different Moodle modules==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s activity modules, filters, and other plugins can be activated/deactivated. If necessary, you may wish to deactivate some features (such as chat) if not required - but this isn&#039;t necessary. Some notes on the performance of certain modules:&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Chat&#039;&#039;&#039; module is [http://moodle.org/mod/forum/discuss.php?d=37979&amp;amp;parent=175079 said] to be a hog in terms of frequent HTTP requests to the main server. This can be reduced by setting the module to use &#039;&#039;Streamed&#039;&#039; updates, or, if you&#039;re using a Unix-based webserver, by running the chat in daemon mode. When using the Chat module use the configuration settings to tune for your expected load. Pay particular attention to the &#039;&#039;chat_old_ping&#039;&#039; and &#039;&#039;chat_refresh&#039;&#039; parameters as these can have greatest impact on server load.&lt;br /&gt;
* The &#039;&#039;&#039;Quiz&#039;&#039;&#039; module is known to stretch database performance. However, it has been getting better in recent versions, and we don&#039;t know of any good, up-to-date performance measurements. (Here is a [http://moodle.org/mod/forum/discuss.php?d=68579 case study from 2007 with 300 quiz users].)&lt;br /&gt;
* The Moodle &#039;&#039;&#039;Cron&#039;&#039;&#039; task is triggered by calling the script &#039;&#039;cron.php&#039;&#039;. If this is called over HTTP (e.g. using wget or curl) it can take a large amount of memory on large installations. If it is called by directly invoking the php command (e.g. &#039;&#039;php -f /path/to/moodle/directory/admin/cron.php&#039;&#039;) efficiency can be much improved.&lt;br /&gt;
* The &#039;&#039;&#039;Recent activities&#039;&#039;&#039; block is consuming to much resources if you have huge number of records &amp;lt;code&amp;gt;mdl_log&amp;lt;/code&amp;gt;. this is being tested to optimize the SQL query.&lt;br /&gt;
&lt;br /&gt;
==Moodle Image Optimization==&lt;br /&gt;
&lt;br /&gt;
The base images delivered in the original Moodle distribution package provide unoptimized graphics, most of which can benefit from lossless recompression utilizing [http://optipng.sourceforge.net/ optipng] for PNGs, [http://www.lcdf.org/gifsicle/ gifsicle] for GIFs and [http://www.kokkonen.net/tjko/projects.html jpegoptim] for JPGs.  Optimized graphics transfer faster and provide a faster perceived response for clients[http://www.websiteoptimization.com/speed/12/], especially distance learners.  The following example will recursively optimize (without any loss of quality) all the graphics and image files included in a base Moodle installation directory on a server with the above commands installed and available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.png -exec optipng -o7 {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.gif -exec gifsicle -O2 -b {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.jpg -exec jpegoptim -p {} \;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both [http://optipng.sourceforge.net/ optipng] and [http://www.lcdf.org/gifsicle/ gifsicle] are provided in the base repositories of most newer Linux distributions; [http://www.kokkonen.net/tjko/projects.html jpegoptim] must be downloaded and installed manually.&lt;br /&gt;
&lt;br /&gt;
==Performance advise for Moodle 2.4 with load-balanced web servers==&lt;br /&gt;
&lt;br /&gt;
Performance advice: if you are running Moodle 2.4 with load-balanced web servers, don&#039;t use the default caching option that stores the data in moodledata on a shared network drive. Use memcache instead. See Tim Hunt&#039;s article on [http://planet.moodle.org/ http://planet.moodle.org/] for 02 May 2013.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle: [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance] forum&lt;br /&gt;
*[http://opensourceelearning.blogspot.be/2012/10/why-your-moodle-site-is-slow-five.html Why Your Moodle Site is Slow: Five Simple Settings] blog post from Jonathan Moore &lt;br /&gt;
*I teach with Moodle perfomance testing: http://www.iteachwithmoodle.com/2012/11/17/moodle-2-4-beta-performance-test-comparison-with-moodle-2-3/&lt;br /&gt;
&lt;br /&gt;
There have been a lot of discussions on moodle.org about performance, here are some of the more interesting and (potentially) useful ones:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=83057 Performance woes!]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=88927 Comments on planned server hardware]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978#p461624 Moodle performance in a pil by Martin Langhoff]&lt;br /&gt;
&lt;br /&gt;
[[es:Recomendaciones sobre desempeño]]&lt;br /&gt;
[[fr:Performance]]&lt;br /&gt;
[[ja:パフォーマンス]]&lt;br /&gt;
[[de:Geschwindigkeitsempfehlungen]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Performance_settings&amp;diff=104283</id>
		<title>Performance settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Performance_settings&amp;diff=104283"/>
		<updated>2013-05-03T16:58:11Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Performance}}&lt;br /&gt;
==Performance settings==&lt;br /&gt;
&lt;br /&gt;
Various performance settings can be changed by an administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Server &amp;gt; Performance&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Other site administration settings which may affect performance==&lt;br /&gt;
&lt;br /&gt;
* Enable the &#039;&#039;&#039;language cache&#039;&#039;&#039;.&lt;br /&gt;
* Large log files can cause overall performance to degrade over time. If you observe that the site has gradually got slower loading pages in the browser, &#039;&#039;&#039;reduce your Log life time&#039;&#039;&#039; setting in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Server &amp;gt; Cleanup&#039;&#039;&lt;br /&gt;
* Performance can be greatly improved by allowing Moodle to use the system &#039;&#039;&#039;zip/unzip&#039;&#039;&#039; commands (rather than PHP-based zip libraries) - visit Admin/Server/System Paths and enter the path to the relevant executables. (Similarly, filling in the path to &#039;&#039;&#039;du&#039;&#039;&#039; will improve Moodle&#039;s speed at listing directory contents.)&lt;br /&gt;
* Note that using &#039;&#039;&#039;secure web connections&#039;&#039;&#039; (&#039;&#039;&#039;https&#039;&#039;&#039; rather than &#039;&#039;&#039;http&#039;&#039;&#039;) carries a higher processing burden, both for the webserver and the client - particularly because cacheing cannot be used as effectively, so the number of file requests is likely to increase dramatically. For this reason using https for all Moodle pages is not recommended. You can enable https just for the login screen, simply from Moodle&#039;s config page.&lt;br /&gt;
* Check your &#039;&#039;&#039;filters&#039;&#039;&#039;. Having too many filters active can have serious effects on server load, especially on lower-end systems. The number of active filters has a direct effect on the perceived latency of your site; that is the time taken for each page impression. &lt;br /&gt;
* Enable the &#039;&#039;&#039;text cache&#039;&#039;&#039; but do not &amp;quot;Filter all strings&amp;quot; unless you have a specific need. If in doubt profile the performance, and see how your changes affect the processing time.&lt;br /&gt;
* Check your &#039;&#039;&#039;anti-virus&#039;&#039;&#039; measures on the server.  Although they are useful for preventing security holes being exploited, some &amp;quot;On-Demand&amp;quot; scanners can affect performance by scanning page content (word, ppt files etc).&lt;br /&gt;
* If there are performance problems loading course pages, check the &#039;&#039;&#039;Resource module settings&#039;&#039;&#039;. The setting resource_filterexternalpages is known to slow-down course pages and should be set to &#039;No&#039; for better performance.&lt;br /&gt;
* Check your &#039;&#039;&#039;forum settings&#039;&#039;&#039;. To improve performance set forum_trackreadposts = No and forum_usermarksread = Yes (this will impact on the convenience of your users&#039; forum experience). Also consider setting the time of the day when old posts are cleared from the read table (forum_cleanreadtime) to when your site is less busy.&lt;br /&gt;
* Don&#039;t use database sessions unless you really need them. On-disc sessions tend to be much faster.&lt;br /&gt;
&lt;br /&gt;
===config.php settings which may affect performance===&lt;br /&gt;
Increasing the value of CONTEXT_CACHE_MAX_SIZE &#039;&#039;&#039;may&#039;&#039;&#039; reduce the number of database queries for certain pages.  It will also increase memory usage, so be careful.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Moodle 2.3: Increasing this from the default saved about &amp;gt; 1000 db queries on the course/index.php page for &lt;br /&gt;
// a Moodle having 1250 course categories.&lt;br /&gt;
// This value is specified in lib/accesslib.php, but it&#039;s OK to add a define for it in config.php:&lt;br /&gt;
define(&#039;CONTEXT_CACHE_MAX_SIZE&#039;, 7500);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[de:Geschwindigkeitseinstellungen]]&lt;br /&gt;
[[es:Configuraciones para desempeño]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Rendiment&amp;diff=104282</id>
		<title>Rendiment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Rendiment&amp;diff=104282"/>
		<updated>2013-05-03T16:29:04Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing a Moodle site}}&lt;br /&gt;
*[[Performance recommendations]]&lt;br /&gt;
*[[Performance settings]]&lt;br /&gt;
*[[Performance overview]]&lt;br /&gt;
*[[Caching]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Performance FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
[[de:Geschwindigkeit]]&lt;br /&gt;
[[es:Desempeño]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Performance_recommendations&amp;diff=104281</id>
		<title>Performance recommendations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Performance_recommendations&amp;diff=104281"/>
		<updated>2013-05-03T16:24:16Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Performance}}&lt;br /&gt;
Moodle can be made to perform very well, at small usage levels or scaling up to many thousands of users. The factors involved in performance are basically the same as for any PHP-based database-driven system. When trying to optimize your server, try to focus on the factor which will make the most difference to the user. For example, if you have relatively more users browsing than accessing the database, look to improve the webserver performance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Obtain a baseline benchmark==&lt;br /&gt;
&lt;br /&gt;
Before attempting any optimization, you should obtain a baseline benchmark of the component of the system you are trying to improve. For Linux try [http://lbs.sourceforge.net/ LBS] and for Windows use the Performance Monitor. Once you have quantitative data about how your system is performing currently, you&#039;ll be able to determine if the change you have made has had any real impact.&lt;br /&gt;
&lt;br /&gt;
The overall aim of adjustments to improve performance is to use RAM (cacheing) and to reduce disk-based activity. It is especially important to try to eliminate swap file usage as much as you can. If your system starts swapping, this is a sign that you need more RAM. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;optimization order preference&#039;&#039;&#039; is usually: primary storage (more RAM), secondary storage (faster hard disks/improved hard disk configuration), processor (more and faster).&lt;br /&gt;
&lt;br /&gt;
==Scalability==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s design (with clear separation of application layers) allows for strongly scalable setups. (Please check the list of [[Large installations|large Moodle installations]].)&lt;br /&gt;
&lt;br /&gt;
Large sites usually separate the web server and database onto separate servers, although for smaller installations this is typically not necessary.&lt;br /&gt;
&lt;br /&gt;
It is possible to load-balance a Moodle installation, for example by using more than one webserver. The separate webservers should query the same database and refer to the same filestore area, but otherwise the separation of the application layers is complete enough to make this kind of clustering feasible. Similarly, the database could be a cluster of servers (e.g. a MySQL cluster), but this is not an easy task and you should seek expert support, e.g. from a Moodle Partner.&lt;br /&gt;
&lt;br /&gt;
===Server cluster===&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=57202 Moodle clustering]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=44470 Software load balancing]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=49986 TCP load balancing]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=88214 Installation for 3000 simultaneous users]&lt;br /&gt;
&lt;br /&gt;
==Hardware configuration==&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: The fastest and most effective change that you can make to improve performance is to &#039;&#039;&#039;increase the amount of RAM on your web server&#039;&#039;&#039; - get as much as possible (e.g. 4GB or more). Increasing primary memory will reduce the need for processes to swap to disk and will enable your server to handle more users.&lt;br /&gt;
* Better performance is gained by obtaining the best &#039;&#039;&#039;processor capability&#039;&#039;&#039; you can, i.e. dual or dual core processors. A modern BIOS should allow you to enable hyperthreading, but check if this makes a difference to the overall performance of the processors by using a [http://en.wikipedia.org/wiki/Super_PI CPU benchmarking tool].&lt;br /&gt;
* If you can afford them, use &#039;&#039;&#039;SCSI hard disks&#039;&#039;&#039; instead of SATA drives. SATA drives will increase your system&#039;s CPU utilization, whereas SCSI drives have their own integrated processors and come into their own when you have multiple drives. If you must have SATA drives, check that your motherboard and the drives themselves support NCQ (Native Command Queuing).&lt;br /&gt;
* Purchase hard disks with a &#039;&#039;&#039;low seek time&#039;&#039;&#039;. This will improve the overall speed of your system, especially when accessing Moodle&#039;s reports.&lt;br /&gt;
* Size your &#039;&#039;&#039;swap file&#039;&#039;&#039; correctly. The general advice is to set it to 4 x physical RAM.&lt;br /&gt;
* Use a &#039;&#039;&#039;RAID disk system&#039;&#039;&#039;. Although there are many different RAID configurations you can create, the following generally works best:&lt;br /&gt;
** install a hardware RAID controller (if you can)&lt;br /&gt;
** the operating system and swap drive on one set of disks configured as RAID-1.&lt;br /&gt;
** Moodle, Web server and Database server on another set of disks configured as RAID-5.&lt;br /&gt;
* Use &#039;&#039;&#039;gigabit ethernet&#039;&#039;&#039; for improved latency and throughput. This is especially important when you have your webserver and database server separated out on different hosts.&lt;br /&gt;
* Check the settings on your &#039;&#039;&#039;network card&#039;&#039;&#039;. You may get an improvement in performance by increasing the use of buffers and transmit/receive descriptors (balance this with processor and memory overheads) and off-loading TCP checksum calculation onto the card instead of the OS.&lt;br /&gt;
*  Read this [http://moodle.org/mod/forum/discuss.php?d=68579 Case Study] on a server stress test with 300 users.  &lt;br /&gt;
* See this [http://elearning.sgu.ac.jp/doc/PT/ accompanying report] on network traffic and server loads.&lt;br /&gt;
* See the [[Moodle.org configuration]]&lt;br /&gt;
* Also see this SFSU presentation at Educause (using VMWare): [http://www.educause.edu/Resources/AnOpenSourceLMSforaMissionCrit/162843]&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
* You can use [http://en.wikipedia.org/wiki/Linux Linux](recommended), Unix-based, Windows or Mac OS X for the server &#039;&#039;&#039;operating system&#039;&#039;&#039;. *nix operating systems generally require less memory than Mac OS X or Windows servers for doing the same task as the server is configured with just a shell interface. Additionally Linux does not have licensing fees attached, but can have a big learning curve if you&#039;re used to another operating system. If you have a large number of processors running SMP, you may also want to consider using a highly tuned OS such as [http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris].&lt;br /&gt;
* Check your own OS and &#039;&#039;&#039;vendor specific instructions&#039;&#039;&#039; for optimization steps.&lt;br /&gt;
** For Linux look at the [http://linuxperf.sourceforge.net/ Linux Performance Team] site. &lt;br /&gt;
** For Linux investigate the hdparm command, e.g. hdparm -m16 -d1 can be used to enable read/write on multiple sectors and DMA. Mount disks with the async and noatime options.&lt;br /&gt;
** For Windows set the sever to be optimized for network applications (Control Panel, Network Connections, LAN connection, Properties, File &amp;amp; Printer Sharing for Microsoft Networks, Properties, Optimization). You can also search the [http://technet.microsoft.com/ Microsoft TechNet site] for optimization documents.&lt;br /&gt;
&lt;br /&gt;
==Web server performance==&lt;br /&gt;
&lt;br /&gt;
Installing [http://www.mozilla.com/en-US/ Firefox] and the [https://addons.mozilla.org/en-US/firefox/addon/1843 firebug] extension will allow you to watch the time it takes for each page component to load. Also, the [https://addons.mozilla.org/en-US/firefox/addon/5369 Yslow] extension will evaluate your page against Yahoo&#039;s [http://www.skrenta.com/2007/05/14_rules_for_fast_web_pages_by_1.html 14 rules], full text [http://developer.yahoo.com/performance/rules.html Best Practices for Speeding Up Your Web Site], &amp;lt;strike&amp;gt;([http://video.yahoo.com/video/play?vid=1040890 video])&amp;lt;/strike&amp;gt; for fast loading websites.&lt;br /&gt;
&lt;br /&gt;
===PHP performance===&lt;br /&gt;
* You are strongly recommended to use a &#039;&#039;&#039;PHP accelerator&#039;&#039;&#039; to ease CPU load, such as [http://pecl.php.net/apc APC], [http://www.php-accelerator.co.uk/ PHPA], [http://trac.lighttpd.net/xcache/ Xcache], [http://sourceforge.net/projects/wincache WinCache] or [http://eaccelerator.net/ eAccelerator]. (Take care to choose a PHP accelerator that is known to work well with your version of PHP and note that Turck MMCache is [http://turckmmcache.exeprod.com/TheManifestoEnglish no longer maintained] and can cause failures with PHP 5). &lt;br /&gt;
* Improvements in read/write performance can be improved by putting the cached PHP pages on a [[TMPFS]] filesystem - but remember that you&#039;ll lose the cache contents when there is a power failure or the server is rebooted.&lt;br /&gt;
* Performance of PHP is better when installed as an &#039;&#039;&#039;Apache/IIS6 ISAPI module&#039;&#039;&#039; (rather than a CGI). IIS 7.0/7.5 (Windows Server 2008/R2) users should choose a FastCGI installation for best performance.&lt;br /&gt;
* Also check the &#039;&#039;&#039;memory_limit&#039;&#039;&#039; in php.ini, reduce it to 16M for Moodle version earlier than 1.7 ([http://moodle.org/mod/forum/discuss.php?d=39656 See this forum discussion]). For Moodle 1.7 or later, it is recommended that the value of memory_limit should be 40M. As of [http://www.php.net/ChangeLog-5.php PHP 5.2.1] the default value for the memory_limit directive is 128M.&lt;br /&gt;
* Also see [[PHP_settings_by_Moodle_version]]&lt;br /&gt;
&lt;br /&gt;
===Install HowTo===&lt;br /&gt;
* [http://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html APC on CentOS 5.x (linux)]&lt;br /&gt;
* [http://fplanque.com/dev/linux/install-apc-php-cache-debian-lenny APC on Debian (linux)]&lt;br /&gt;
* [http://www.linuxtuts.net/211-installing-memcached-php5-memcache-module-debian-apache2.html MemCache module on Debian (Apache2 and PHP5) ]&lt;br /&gt;
* [http://noveckg.blogspot.com/2010/03/installing-memcached-on-centos-5x.html Installing Memcache on CentOS 5.x (linux)]&lt;br /&gt;
* [http://noveckg.blogspot.com/2010/02/installing-eaccelerator-cache-for-php.html Installing eAccelerator on CentOS 5.x (linux)]&lt;br /&gt;
* [https://docs.moodle.org/en/Installing_eAccelerator_In_Ubuntu_Server/ Installing eAccelerator on Ubuntu Server (linux)]&lt;br /&gt;
&lt;br /&gt;
===Apache performance===&lt;br /&gt;
* If you are using Apache on a Windows server, use the build from [http://www.apachelounge.com Apache Lounge] which is reported to have [http://moodle.org/mod/forum/discuss.php?d=93358 performance and stability improvements] compared to the official Apache download. Note that this is an unofficial build, so may not keep up with official releases.&lt;br /&gt;
* Set the &#039;&#039;&#039;MaxClients&#039;&#039;&#039; directive correctly. Use this formula to help (which uses 80% of available memory to leave room for spare):&lt;br /&gt;
 MaxClients = Total available memory * 80% / Max memory usage of apache process&lt;br /&gt;
:Memory usage of apache process is usually 10MB but Moodle can easily use up to 100MB per process, so a general rule of thumb is to divide your available memory in megabytes by 100 to get a conservative setting for MaxClients. You are quite likely to find yourself lowering the MaxClients from its default of 150 on a Moodle server. To get a more accurate estimate read the value from the shell command:&lt;br /&gt;
 #ps -ylC httpd --sort:rss&lt;br /&gt;
&lt;br /&gt;
:If you need to increase the value of &#039;&#039;&#039;MaxClients&#039;&#039;&#039; beyond 256, you will also need to set the &#039;&#039;&#039;ServerLimit&#039;&#039;&#039; directive. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: Do not be tempted to set the value of MaxClients higher than your available memory as your server will consume more RAM than available and start to swap to disk. &lt;br /&gt;
* Consider reducing the &#039;&#039;&#039;number of modules&#039;&#039;&#039; that Apache loads in the httpd.conf file to the minumum necessary to reduce the memory needed. &lt;br /&gt;
* Use the &#039;&#039;&#039;latest version of Apache&#039;&#039;&#039; - Apache 2 has an improved memory model which reduces memory usage further.&lt;br /&gt;
* For Unix/Linux systems, consider lowering &#039;&#039;&#039;MaxRequestsPerChild&#039;&#039;&#039; in httpd.conf to as low as 20-30 (if you set it any lower the overhead of forking begins to outweigh the benefits). &lt;br /&gt;
* For a heavily loaded server, consider setting &#039;&#039;&#039;KeepAlive Off&#039;&#039;&#039; (do this only if your Moodle pages do not contain links to resources or uploaded images) or lowering the &#039;&#039;&#039;KeepAliveTimeout&#039;&#039;&#039; to between 2 and 5. The default is 15 (seconds) - the higher the value the more server processes will be kept waiting for possibly idle connections. A more accurate value for KeepAliveTimeout is obtained by observing how long it takes your users to download a page. After altering any of the KeepAlive variables, monitor your CPU utilization as there may be an additional overhead in initiating more worker processes/threads.&lt;br /&gt;
* As an alternative to using KeepAlive Off, consider setting-up a &#039;&#039;&#039;Reverse Proxy server&#039;&#039;&#039; infront of the Moodle server to cache HTML files with images. You can then return Apache to using keep-alives on the Moodle server.&lt;br /&gt;
* If you do not use a .htaccess file, set the &#039;&#039;&#039;AllowOverride&#039;&#039;&#039; variable to AllowOverride None to prevent .htaccess lookups.&lt;br /&gt;
* Set &#039;&#039;&#039;DirectoryIndex&#039;&#039;&#039; correctly so as to avoid content-negotiation. Here&#039;s an example from a production server:&lt;br /&gt;
 DirectoryIndex index.php index.html index.htm&lt;br /&gt;
* Unless you are doing development work on the server, set &#039;&#039;&#039;ExtendedStatus Off&#039;&#039;&#039; and disable mod_info as well as mod_status.&lt;br /&gt;
* Leave &#039;&#039;&#039;HostnameLookups Off&#039;&#039;&#039; (as default) to reduce DNS latency.&lt;br /&gt;
* Consider reducing the value of &#039;&#039;&#039;TimeOut&#039;&#039;&#039; to between 30 to 60 (seconds). &lt;br /&gt;
* For the &#039;&#039;&#039;Options directive&#039;&#039;&#039;, avoid Options Multiviews as this performs a directory scan. To reduce disk I/O further use&lt;br /&gt;
 Options -Indexes FollowSymLinks&lt;br /&gt;
*&#039;&#039;&#039;Caching (absolutely unsupported, Moodle 1.9 only)&#039;&#039;&#039; &#039;&#039;Please note that this kind of caching creates major problems during upgrades, you need to remove the caching directives one week before any upgrade.&#039;&#039; Apache can be told to make pages load a lot faster by specifying that the browser should cache some various page elements such as images and reuse them from local memory rather than ask for them again every time a page is requested. How to do this varies slightly between OSes but there are two basic steps:&lt;br /&gt;
&lt;br /&gt;
# Install and enable mod_expires - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;IfModule mod_expires.c&amp;gt;&lt;br /&gt;
  ExpiresActive On&lt;br /&gt;
  ExpiresDefault &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType text/html &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType image/gif &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/jpeg &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/png &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/css &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType application/x-javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/xml &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The effect is to make everything stay in the cache except HTML and XML, which change dynamically. It&#039;s possible to gain a several hundred percent decrease in load times this way. Adjust the cache times according to how often your images etc change.&lt;br /&gt;
&lt;br /&gt;
* Compression reduces response times by reducing the size of the HTTP response&lt;br /&gt;
# Install and enable mod_deflate - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;ifModule mod_deflate.c&amp;gt;&lt;br /&gt;
   AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
 &amp;lt;/ifmodule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More info: [http://metaskills.net/2006/02/19/how-to-control-browser-caching-with-apache-2/ www.metaskills.net]&lt;br /&gt;
&lt;br /&gt;
===IIS performance===&lt;br /&gt;
All alter this location in the registry:&lt;br /&gt;
 HKLM\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\&lt;br /&gt;
* The equivalent to KeepAliveTimeout is &#039;&#039;&#039;ListenBackLog&#039;&#039;&#039; (IIS - registry location is HKLM\ SYSTEM\ CurrentControlSet\ Services\ Inetinfo\ Parameters). Set this to between 2 to 5.&lt;br /&gt;
*Change the &#039;&#039;&#039;MemCacheSize&#039;&#039;&#039; value to adjust the amount of memory (Mb) that IIS will use for its file cache (50% of available memory by default).&lt;br /&gt;
*Change the &#039;&#039;&#039;MaxCachedFileSize&#039;&#039;&#039; to adjust the maximum size of a file cached in the file cache in bytes. Default is 262,144 (256K).&lt;br /&gt;
*Create a new DWORD called &#039;&#039;&#039;ObjectCacheTTL&#039;&#039;&#039; to change the length of time (in milliseconds) that objects in the cache are held in memory. Default is 30,000 milliseconds (30 seconds).&lt;br /&gt;
&lt;br /&gt;
===Lighttpd, NginX and Cherokee performance===&lt;br /&gt;
You can increase server performance by using a &#039;&#039;&#039;light-weight&#039;&#039;&#039; webserver like [http://www.lighttpd.net/ lighttpd],  [http://nginx.net/ nginx] or [http://www.cherokee-project.com/ cherokee] in combination with PHP in FastCGI-mode. Lighttpd was originally created as a proof-of-concept[http://www.lighttpd.net/story] to address the [http://www.kegel.com/c10k.html C10k problem] and while primarily recommended for memory-limited servers, its design origins and asynchronous-IO model make it a suitable and proven[http://blog.lighttpd.net/articles/2006/12/28/lighttpd-powers-5-alexa-top-250-sites] alternative HTTP server for high-load websites and web apps, including Moodle. See the [[lighttpd | MoodleDocs Lighttpd page]] for additional information, configuration example and links.&lt;br /&gt;
&lt;br /&gt;
Alternatively, both [http://www.lighttpd.net/ lighttpd] and [http://nginx.net/ nginx] are capable of performing as a load-balancer and/or reverse-proxy to alleviate load on back-end servers[http://www.linuxjournal.com/article/10108], providing benefit without requiring an actual software change on existing servers.&lt;br /&gt;
&lt;br /&gt;
Do note that these are likely to be the least tested server environments of all particularly if you are using advanced features such as web services and/or Moodle Networking. They are probably best considered for heavily used Moodle sites with relatively simple configurations.&lt;br /&gt;
&lt;br /&gt;
==Database performance==&lt;br /&gt;
&lt;br /&gt;
Moodle contains a script which will display some key database performance statistics from the [http://phplens.com/lens/adodb/docs-perf.htm ADOdb performance monitor]. Run the script in your browser as in the following example:&lt;br /&gt;
&lt;br /&gt;
 http://www.mymoodle.com/admin/dbperformance.php&lt;br /&gt;
&lt;br /&gt;
Use the data displayed as a guide to tune and improve the performance of your database server.&lt;br /&gt;
&lt;br /&gt;
===MySQL performance===&lt;br /&gt;
&lt;br /&gt;
The following are MySQL specific settings which can be adjusted for better performance in your my.cnf (my.ini in Windows). The file contains a list of settings and their values. To see the current values use these commands&lt;br /&gt;
 SHOW STATUS;&lt;br /&gt;
 SHOW VARIABLES; &lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: You must make backups of your database before attempting to change any MySQL server configuration. After any change to the my.cnf, restart mysqld.&lt;br /&gt;
&lt;br /&gt;
If you are able, the [http://mysqltuner.com/ MySQLTuner] tool can be run against your MySQL server and will calculate appropriate configuration values for most of the following settings based on your current load, status and variables automatically.&lt;br /&gt;
&lt;br /&gt;
* Enable the &#039;&#039;&#039;query cache&#039;&#039;&#039; with &lt;br /&gt;
 query_cache_type = 1. &lt;br /&gt;
For most Moodle installs, set the following:&lt;br /&gt;
 query_cache_size = 36M &lt;br /&gt;
 query_cache_min_res_unit = 2K. &lt;br /&gt;
The query cache will improve performance if you are doing few updates on the database. &lt;br /&gt;
* Set the &#039;&#039;&#039;table cache&#039;&#039;&#039; correctly. For Moodle 1.6 set &lt;br /&gt;
 table_cache = 256 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min), and for Moodle 1.7 set &lt;br /&gt;
 table_cache = 512 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min). The table cache is used by all threads (connections), so monitor the value of opened_tables to further adjust - if opened_tables &amp;gt; 3 * table_cache(table_open_cache in MySQL &amp;gt; 5.1.2) then increase table_cache upto your OS limit. Note also that the figure for table_cache will also change depending on the number of modules and plugins you have installed. Find the number for your server by executing the mysql statement below. Look at the number returned and set table_cache to this value.&lt;br /&gt;
 mysql&amp;gt;SELECT COUNT(table_name) FROM information_schema.tables WHERE table_schema=&#039;yourmoodledbname&#039;;&lt;br /&gt;
* Set the &#039;&#039;&#039;thread cache&#039;&#039;&#039; correctly. Adjust the value so that your thread cache utilization is as close to 100% as possible by this formula:&lt;br /&gt;
 thread cache utilization (%) = (threads_created / connections) * 100&lt;br /&gt;
* The &#039;&#039;&#039;key buffer&#039;&#039;&#039; can improve the access speed to Moodle&#039;s SELECT queries. The correct size depends on the size of the index files (.myi) and in Moodle 1.6 or later (without any additional modules and plugins), the recommendation for this value is key_buffer_size = 32M. Ideally you want the database to be reading once from the disk for every 100 requests so monitor that the value is suitable for your install by adjusting the value of key_buffer_size so that the following formulas are true:&lt;br /&gt;
 key_read / key_read_requests &amp;lt; 0.01&lt;br /&gt;
 key_write / key_write_requests &amp;lt;= 1.0&lt;br /&gt;
* Set the &#039;&#039;&#039;maximum number of connections&#039;&#039;&#039; so that your users will not see a &amp;quot;Too many connections&amp;quot; message. Be careful that this may have an impact on the total memory used. MySQL connections usually last for milliseconds, so it is unusual even for a heavily loaded server for this value to be over 200.&lt;br /&gt;
* Manage &#039;&#039;&#039;high burst activity&#039;&#039;&#039;. If your Moodle install uses a lot of quizzes and you are experiencing performance problems (check by monitoring the value of threads_connected - it should not be rising) consider increasing the value of back_log.&lt;br /&gt;
* &#039;&#039;&#039;Optimize your tables weekly and after upgrading Moodle&#039;&#039;&#039;. It is good practice to also optimize your tables after performing a large data deletion exercise, e.g. at the end of your semester or academic year. This will ensure that index files are up to date. Backup your database first and then use:&lt;br /&gt;
 mysql&amp;gt;CHECK TABLE mdl_tablename;&lt;br /&gt;
 mysql&amp;gt;OPTIMIZE TABLE mdl_tablename;&lt;br /&gt;
:The common tables in Moodle to check are mdl_course_sections, mdl_forum_posts, mdl_log and mdl_sessions (if using dbsessions). Any errors need to be corrected using REPAIR TABLE (see the [http://dev.mysql.com/doc/refman/5.0/en/repair-table.html MySQL manual] and this [http://moodle.org/mod/forum/discuss.php?d=58208#p279638 forum script]).&lt;br /&gt;
* &#039;&#039;&#039;Maintain the key distribution&#039;&#039;&#039;. Every month or so it is a good idea to stop the mysql server and run these myisamchk commands.&lt;br /&gt;
 #myisamchk -a -S /pathtomysql/data/moodledir/*.MYI&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: You must stop the mysql database process (mysqld) before running any myisamchk command. If you do not, you risk data loss.&lt;br /&gt;
* Reduce the number of &#039;&#039;&#039;temporary tables saved to disk&#039;&#039;&#039;. Check this with the created_tmp_disk_tables value. If this is relatively large (&amp;gt;5%) increase tmp_table_size until you see a reduction. Note that this will have an impact on RAM usage.&lt;br /&gt;
&lt;br /&gt;
===PostgreSQL performance===&lt;br /&gt;
&lt;br /&gt;
There are some good papers around on tuning PostgreSQL (like [http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server this one]), and Moodle&#039;s case does not seem to be different to the general case.&lt;br /&gt;
&lt;br /&gt;
The first thing to recognise is that if you really need to worry about tuning you should be using a separate machine for the database server. If you are not using a separate machine then the answers to many performance questions are substantially muddied by the memory requirements of the rest of the application.&lt;br /&gt;
&lt;br /&gt;
You should probably &#039;&#039;&#039;enable autovacuum&#039;&#039;&#039;, unless you know what you are doing. Many e-learning sites have predictable periods of low use, so disabling autovacuum and running a specific vacuum at those times can be a good option. Or perhaps leave autovacuum running but do a full vacuum weekly in a quiet period.&lt;br /&gt;
&lt;br /&gt;
Set &#039;&#039;&#039;shared_buffers&#039;&#039;&#039; to something reasonable. For versions up to 8.1 my testing has shown that peak performance is almost always obtained with buffers &amp;lt; 10000, so if you are using such a version, and have more than 512M of RAM just set shared_buffers to 10,000 (8MB).&lt;br /&gt;
&lt;br /&gt;
The buffer management had a big overhaul in 8.2 and &amp;quot;reasonable&amp;quot; is now a much larger number. I have not conducted performance tests with 8.2, but the recommendations from others are generally that you should now scale shared_buffers much more with memory and may continue to reap benefits even up to values like 100,000 (80MB). Consider using 1-2% of system RAM.&lt;br /&gt;
&lt;br /&gt;
PostgreSQL will also assume that the operating system is caching its files, so setting &#039;&#039;&#039;effective_cache_size&#039;&#039;&#039; to a reasonable value is also a good idea. A reasonable value will usually be (total RAM - RAM in use by programs). If you are running Linux and leave the system running for a day or two you can look at &#039;free&#039; and under the &#039;cached&#039; column you will see what it currently is. Consider taking that number (which is kB) and dividing it by 10 (i.e. allow 20% for other programs cache needs and then divide by 8 to get pages). If you are not using a dedicated database server you will need to decrease that value to account for usage by other programs.&lt;br /&gt;
&lt;br /&gt;
Some other useful parameters that can have positive effects, and the values I would typically set them to on a machine with 4G RAM, are:&lt;br /&gt;
&lt;br /&gt;
 work_mem = 10240&lt;br /&gt;
&lt;br /&gt;
That&#039;s 10M of RAM to use instead of on-disk sorting and so forth. That can give a big speed increase, but it is per connection and 200 connections * 10M is 2G, so it can theoretically chew up a lot of RAM.&lt;br /&gt;
&lt;br /&gt;
 maintenance_work_mem = 163840&lt;br /&gt;
&lt;br /&gt;
That&#039;s 160M of RAM which will be used by (e.g.) VACUUM, index rebuild, cluster and so forth. This should only be used periodically and should be freed when those processes exit, so I believe it is well worth while.&lt;br /&gt;
&lt;br /&gt;
 max_fsm_pages = 100000&lt;br /&gt;
 max_fsm_relations = 5000&lt;br /&gt;
&lt;br /&gt;
These are used to hold the free-space map, and if they are too small you will see performance degradation after the database has been operating for some time. The exact numbers to set can be gleaned from the output of VACUUM VERBOSE, which prints the required FSM pages at the end of it&#039;s run. The 5x increase seems to be useful for a Moodle installation, from experience.&lt;br /&gt;
&lt;br /&gt;
 wal_buffers = 64&lt;br /&gt;
&lt;br /&gt;
These buffers are used for the write-ahead log, and there have been a number of reports on the PostgreSQL mailing lists of improvement from this level of increase.&lt;br /&gt;
&lt;br /&gt;
This is a little out of date now (version 8.0) but still worth a read: http://www.powerpostgresql.com/Docs&lt;br /&gt;
&lt;br /&gt;
And there is lots of good stuff here as well: http://www.varlena.com/GeneralBits/Tidbits/index.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Based on Andrew McMillan&#039;s post at [http://moodle.org/mod/forum/discuss.php?d=68558 Tuning PostgreSQL] forum thread.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Other database performance links===&lt;br /&gt;
* Consider using a &#039;&#039;&#039;distributed cacheing system&#039;&#039;&#039; like [http://en.wikipedia.org/wiki/Memcached memcached] but note that memcached does not have any security features so it should be used behind a firewall.&lt;br /&gt;
* Consider using PostgreSQL. See [[Arguments in favour of PostgreSQL]] and [http://moodle.org/mod/forum/discuss.php?d=49195 how to migrate from MySQL to PostgreSQL] (forum discussion).&lt;br /&gt;
* [[Increasing the database connection lifetime | Try increasing the database connection lifetime]]&lt;br /&gt;
* [http://dev.mysql.com/doc/refman/5.0/en/server-parameters.html General advice on tuning MySQL parameters] (advice from the MySQL manual)&lt;br /&gt;
* [http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/ InnoDB performance optimization] taken from the [http://www.mysqlperformanceblog.com/ MySQL performance blog] site.&lt;br /&gt;
&lt;br /&gt;
==Performance of different Moodle modules==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s activity modules, filters, and other plugins can be activated/deactivated. If necessary, you may wish to deactivate some features (such as chat) if not required - but this isn&#039;t necessary. Some notes on the performance of certain modules:&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Chat&#039;&#039;&#039; module is [http://moodle.org/mod/forum/discuss.php?d=37979&amp;amp;parent=175079 said] to be a hog in terms of frequent HTTP requests to the main server. This can be reduced by setting the module to use &#039;&#039;Streamed&#039;&#039; updates, or, if you&#039;re using a Unix-based webserver, by running the chat in daemon mode. When using the Chat module use the configuration settings to tune for your expected load. Pay particular attention to the &#039;&#039;chat_old_ping&#039;&#039; and &#039;&#039;chat_refresh&#039;&#039; parameters as these can have greatest impact on server load.&lt;br /&gt;
* The &#039;&#039;&#039;Quiz&#039;&#039;&#039; module is known to stretch database performance. However, it has been getting better in recent versions, and we don&#039;t know of any good, up-to-date performance measurements. (Here is a [http://moodle.org/mod/forum/discuss.php?d=68579 case study from 2007 with 300 quiz users].)&lt;br /&gt;
* The Moodle &#039;&#039;&#039;Cron&#039;&#039;&#039; task is triggered by calling the script &#039;&#039;cron.php&#039;&#039;. If this is called over HTTP (e.g. using wget or curl) it can take a large amount of memory on large installations. If it is called by directly invoking the php command (e.g. &#039;&#039;php -f /path/to/moodle/directory/admin/cron.php&#039;&#039;) efficiency can be much improved.&lt;br /&gt;
* The &#039;&#039;&#039;Recent activities&#039;&#039;&#039; block is consuming to much resources if you have huge number of records &amp;lt;code&amp;gt;mdl_log&amp;lt;/code&amp;gt;. this is being tested to optimize the SQL query.&lt;br /&gt;
&lt;br /&gt;
==Moodle Image Optimization==&lt;br /&gt;
&lt;br /&gt;
The base images delivered in the original Moodle distribution package provide unoptimized graphics, most of which can benefit from lossless recompression utilizing [http://optipng.sourceforge.net/ optipng] for PNGs, [http://www.lcdf.org/gifsicle/ gifsicle] for GIFs and [http://www.kokkonen.net/tjko/projects.html jpegoptim] for JPGs.  Optimized graphics transfer faster and provide a faster perceived response for clients[http://www.websiteoptimization.com/speed/12/], especially distance learners.  The following example will recursively optimize (without any loss of quality) all the graphics and image files included in a base Moodle installation directory on a server with the above commands installed and available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.png -exec optipng -o7 {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.gif -exec gifsicle -O2 -b {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.jpg -exec jpegoptim -p {} \;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both [http://optipng.sourceforge.net/ optipng] and [http://www.lcdf.org/gifsicle/ gifsicle] are provided in the base repositories of most newer Linux distributions; [http://www.kokkonen.net/tjko/projects.html jpegoptim] must be downloaded and installed manually.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle: [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance] forum&lt;br /&gt;
*[http://opensourceelearning.blogspot.be/2012/10/why-your-moodle-site-is-slow-five.html Why Your Moodle Site is Slow: Five Simple Settings] blog post from Jonathan Moore &lt;br /&gt;
*I teach with Moodle perfomance testing: http://www.iteachwithmoodle.com/2012/11/17/moodle-2-4-beta-performance-test-comparison-with-moodle-2-3/&lt;br /&gt;
&lt;br /&gt;
There have been a lot of discussions on moodle.org about performance, here are some of the more interesting and (potentially) useful ones:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=83057 Performance woes!]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=88927 Comments on planned server hardware]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978#p461624 Moodle performance in a pil by Martin Langhoff]&lt;br /&gt;
&lt;br /&gt;
[[es:Recomendaciones sobre desempeño]]&lt;br /&gt;
[[fr:Performance]]&lt;br /&gt;
[[ja:パフォーマンス]]&lt;br /&gt;
[[de:Geschwindigkeitsempfehlungen]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Upgrading&amp;diff=104266</id>
		<title>Upgrading</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Upgrading&amp;diff=104266"/>
		<updated>2013-05-02T23:38:25Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: Added a paragraph about ==Fatal error: Maximum execution time of 30 seconds exceeded...==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}	&lt;br /&gt;
&#039;&#039;This page explains in detail how to upgrade Moodle. For a summary of the process, see [[Upgrade overview]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Check the requirements==&lt;br /&gt;
&lt;br /&gt;
Check that your server meets all requirements for 2.4 in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Server &amp;gt; [[Environment]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Note: You can only upgrade to Moodle 2.4 from Moodle 2.2 or later. If upgrading from earlier versions, you must [https://docs.moodle.org/22/en/Upgrading_to_Moodle_2.2 upgrade to 2.2] as a first step.&lt;br /&gt;
&lt;br /&gt;
==Check for plugin updates==&lt;br /&gt;
&lt;br /&gt;
Check in the [http://moodle.org/plugins Moodle Plugins directory] whether there is a 2.4 version available for any contributed/custom plugins (including themes) that you have previously installed on your site. If so, download the plugin code and copy it to the appropriate location in your Moodle code (see [[Installing plugins]]).&lt;br /&gt;
&lt;br /&gt;
The upgrade of the plugin will then happen as part of the Moodle upgrade process.&lt;br /&gt;
&lt;br /&gt;
If an out-of-date plugin causes your upgrade to fail, you can usually delete the plugin code rather than uninstalling it from within Moodle so that the data associated with it is not deleted.&lt;br /&gt;
&lt;br /&gt;
Note: If you have any contributed blocks installed, please see below for info about block capabilities undefined.&lt;br /&gt;
&lt;br /&gt;
==Before you upgrade your site for real==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;We advise that you test the upgrade first on a COPY of your production site, to make sure it works as you expect.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Backup important data ==&lt;br /&gt;
&lt;br /&gt;
There are three areas that should be backed up before any upgrade:&lt;br /&gt;
#Moodle software (For example, everything in server/htdocs/moodle)&lt;br /&gt;
#Moodle uploaded files (For example, server/moodledata)&lt;br /&gt;
#Moodle database (For example, the SQL or Postgres database)&lt;br /&gt;
&lt;br /&gt;
See [[Site backup]] for more specific information.&lt;br /&gt;
&lt;br /&gt;
==Put your site into maintenance mode==&lt;br /&gt;
Before you begin upgrading your site, you should put it into [[Maintenance_mode | maintenance mode]] to stop any non-admin users from logging in.&lt;br /&gt;
&lt;br /&gt;
== Install the new Moodle software ==&lt;br /&gt;
&lt;br /&gt;
=== Standard install package ===&lt;br /&gt;
&lt;br /&gt;
# Move your old Moodle software program files to another location. &#039;&#039;Do NOT copy new files over the old files.&#039;&#039;&lt;br /&gt;
# Unzip or unpack the upgrade file so that all the new Moodle software program files are in the location the old files used to be in on the server. Moodle will adjust SQL and moodledata if it needs to in the upgrade.&lt;br /&gt;
# Copy your old [[Configuration file|config.php file]] back to the new Moodle directory. &lt;br /&gt;
# As mentioned above, if you had installed any custom plugins on your site you should add them to the new code. It is important to check that you get the correct version for your new version of Moodle. Be particularly careful that you do not overwrite any code in the new version of Moodle. &lt;br /&gt;
&lt;br /&gt;
====Linux====&lt;br /&gt;
 mv moodle moodle.backup&lt;br /&gt;
 tar xvzf moodle-2.4.tgz&lt;br /&gt;
&lt;br /&gt;
Next, copy across your config.php, any custom plugins, and your .htaccess file if you created one (&#039;&#039;&#039;check that custom plugins are the correct version for your new Moodle first&#039;&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
 cp moodle.backup/config.php moodle&lt;br /&gt;
 cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme&lt;br /&gt;
 cp -pr moodle.backup/mod/mymod moodle/mod/mymod&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to make moodle/config.php (and the rest of the source code) readable by your www server. Ideally the files should not be writeable by your server.&lt;br /&gt;
&lt;br /&gt;
If you use cron, take care that cron.php is executeable and uses the correct php command: &lt;br /&gt;
 chmod 740 admin/cli/cron.php (some configurations need chmod 750 or chmod 755)&lt;br /&gt;
 copy the first line from cron.php (if it looks like &#039;#!/usr/local/bin/php&#039; or &#039;#!/usr/local/bin/php5.3&#039;, no need to copy &#039;&amp;lt;?php&#039;)&lt;br /&gt;
&lt;br /&gt;
if necessary.&lt;br /&gt;
&lt;br /&gt;
=== Using Git ===&lt;br /&gt;
&lt;br /&gt;
You can use Git for updating or upgrading your Moodle. See [[Git for Administrators]] for details.&lt;br /&gt;
&lt;br /&gt;
===Command line upgrade===&lt;br /&gt;
&lt;br /&gt;
On Linux servers, Moodle 2.4 supports running the [[CLI|upgrade from the command line]], rather than through a web browser. This is likely to be more reliable, particularly for large sites.&lt;br /&gt;
&lt;br /&gt;
== Finishing the upgrade ==&lt;br /&gt;
&lt;br /&gt;
The last step is to trigger the upgrade processes within Moodle. &lt;br /&gt;
&lt;br /&gt;
To do this just go to &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Notifications&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Moodle will automatically detect the new version and perform all the SQL database or file system upgrades that are necessary. If there is anything it can&#039;t do itself (very rare) then you will see messages telling you what you need to do.&lt;br /&gt;
&lt;br /&gt;
Assuming all goes well (no error messages) then you can start using your new version of Moodle and enjoy the new features!&lt;br /&gt;
&lt;br /&gt;
Note: If you are running multiple servers then you should purge all caches manually (via &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Purge all caches&#039;&#039;) after completing the upgrade on all servers.&lt;br /&gt;
&lt;br /&gt;
==After upgrading==&lt;br /&gt;
&lt;br /&gt;
The config.php file from your 2.2 or 2.3 installation should work fine but if you take a look at config-dist.php that came with Moodle 2.4 there are more/different options available (e.g. database drivers and settings). It&#039;s a good idea to map your old config.php settings to a new one based on the 2.4 config-dist.php.&lt;br /&gt;
&lt;br /&gt;
==Fatal error: Maximum execution time of 30 seconds exceeded...==&lt;br /&gt;
&lt;br /&gt;
If your server uses a main language other than English, you may encounter a &#039;Fatal error: Maximum execution time of 30 seconds exceeded&#039; when you try to upgrade it. You can increase max_execution_time = 160 on php.ini to allow the scripts enough time to process the language update. Otherwise, you can switch to English as the default language before doing the upgrade and back to your original language after a succcessful upgrade. See the forum discussion at https://moodle.org/mod/forum/discuss.php?d=119598 .&lt;br /&gt;
&lt;br /&gt;
==Possible issues that may affect you in Moodle 2.4==&lt;br /&gt;
&lt;br /&gt;
=== Block capabilities undefined ===&lt;br /&gt;
&lt;br /&gt;
If you have any contributed/custom blocks installed, after upgrading you may get a debugging message warning you that a block capability has not been defined. For example&lt;br /&gt;
&lt;br /&gt;
 The block &amp;lt;blockname&amp;gt; does not define the standard capability block/&amp;lt;blockname&amp;gt;:myaddinstance&lt;br /&gt;
&lt;br /&gt;
In Moodle 2.4, &#039;&#039;addinstance&#039;&#039; and &#039;&#039;myaddinstance&#039;&#039; capabilities were added for [[Managing blocks|controlling the use of blocks]]. See the section &#039;Ready, Set, Go!&#039; in the [[:dev:Blocks|Blocks dev docs]] for information on defining these capabilities for any contributed blocks.&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.3 improvements ===&lt;br /&gt;
&lt;br /&gt;
If you are upgrading to Moodle 2.4 from 2.2, please see the section &#039;Possible issues that may affect you in Moodle 2.3&#039; in the [https://docs.moodle.org/23/en/Upgrading Upgrading to Moodle 2.3 documentation].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] &lt;br /&gt;
* [[dev:Moodle 2.4 release notes|Moodle 2.4 release notes]]&lt;br /&gt;
* [[dev:Upgrade API|Upgrade API]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actualización de moodle]]&lt;br /&gt;
[[fr:Mise à jour]]&lt;br /&gt;
[[ja:Moodleをアップグレードする]]&lt;br /&gt;
[[de:Aktualisierung von Moodle]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Gesti%C3%B3_de_comptes_d%27usuari&amp;diff=104224</id>
		<title>Gestió de comptes d&#039;usuari</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Gesti%C3%B3_de_comptes_d%27usuari&amp;diff=104224"/>
		<updated>2013-04-29T23:46:24Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing a Moodle site}}&lt;br /&gt;
&lt;br /&gt;
An administrator can perform various tasks relating to user accounts in &#039;&#039;Settings&amp;gt;Site Administration&amp;gt;Users&amp;gt;Accounts&#039;&#039; The links below provide more information:&lt;br /&gt;
&lt;br /&gt;
* [[Browse list of users]] - how to search for, find and edit user accounts.&lt;br /&gt;
* [[Bulk user actions]] - how to message,confirm ,download or perform other actions on a  large group of users globally.&lt;br /&gt;
* [[Add a new user]] - how to create one individual user account.&lt;br /&gt;
* [[Upload users]] - how to  bulk create new user accounts&lt;br /&gt;
* [[User pictures]] - how to bulk upload profile pictures for users&lt;br /&gt;
* [[User profile fields]] -  how to create customised profile fields.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Accounts FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Accounts]]&lt;br /&gt;
&lt;br /&gt;
[[de:Nutzerverwaltung]]&lt;br /&gt;
[[es:Gestionando cuentas]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Student_role&amp;diff=104217</id>
		<title>Student role</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Student_role&amp;diff=104217"/>
		<updated>2013-04-29T15:32:24Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: fixed Role permissions (deleted page) to Permissions (existing page)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Standard roles}}&lt;br /&gt;
*A user with the Student [[Roles|role]] in Moodle can participate in course activities and view resources but not alter them or see the class gradebook. They can see their own grades if the teacher has allowed this. &lt;br /&gt;
*When a student first joins Moodle they see all available courses. Once they have enrolled or been enrolled into at least one course they then only see their own courses in the My Courses section of the  [[Navigation_block|navigation block]] or via the [[My home]] link.&lt;br /&gt;
*A student&#039;s view and navigation in Moodle will be different from the course teacher&#039;s or from students assigned to a different [[Groups|group]].&lt;br /&gt;
&lt;br /&gt;
*Administrators and [[Teacher|Teachers]] determine how a student enrolls, and what they can do or see in a Moodle site. These [[Permissions|permissions]] can vary with each course or with any of Moodle&#039;s many kinds of activities.  For example, in some [[Context|contexts]], students may correct or grade other students&#039; work, be encouraged to explore everything in a course and interact with other participants.  In a different context, the student maybe guided upon a very defined path, with minimal interaction with others.  &lt;br /&gt;
&lt;br /&gt;
[[Category: Student]]&lt;br /&gt;
&lt;br /&gt;
[[ja:学生]]&lt;br /&gt;
[[de:Teilnehmer-Rolle]]&lt;br /&gt;
[[es:Rol de estudiante]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Site_administrators&amp;diff=104216</id>
		<title>Site administrators</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Site_administrators&amp;diff=104216"/>
		<updated>2013-04-29T15:19:46Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Standard roles}}&lt;br /&gt;
Site administrators have permissions to do anything. &lt;br /&gt;
&lt;br /&gt;
Users may be assigned the role of site administrator by another site administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Site administrators&#039;&#039;, but the role itself cannot be edited (or deleted!).&lt;br /&gt;
&lt;br /&gt;
[[File:Managesiteadministrators.png]]&lt;br /&gt;
&lt;br /&gt;
Note: The primary administrator (created when the site was created) cannot be removed from the site administrator role.&lt;br /&gt;
&lt;br /&gt;
[[de:Administrator-Rolle]]&lt;br /&gt;
[[es:Administradores del sitio]]&lt;br /&gt;
[[fr:Administrateur]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Rols_i_permisos&amp;diff=104215</id>
		<title>Rols i permisos</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Rols_i_permisos&amp;diff=104215"/>
		<updated>2013-04-29T15:04:04Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing a Moodle site}}&lt;br /&gt;
A role is a collection of permissions defined for the whole system that you can assign to specific users in specific contexts. The combination of roles and context define a specific user&#039;s ability to do something on any page.  The most common examples are the roles of student and teacher in the context of a course. &lt;br /&gt;
&lt;br /&gt;
*[[Managing roles]]&lt;br /&gt;
*[[Assign roles]]&lt;br /&gt;
*[[Roles settings]]&lt;br /&gt;
*[[Using roles]]&lt;br /&gt;
*[[Standard roles]]&lt;br /&gt;
*[[Creating custom roles]]&lt;br /&gt;
*[[Permissions]]&lt;br /&gt;
*[[Override permissions]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Roles FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Roles]]&lt;br /&gt;
&lt;br /&gt;
[[es:Roles y permisos]]&lt;br /&gt;
[[eu:Rolak]]&lt;br /&gt;
[[fr:Rôles et permissions]]&lt;br /&gt;
[[ja:ロールおよびケイパビリティ]]&lt;br /&gt;
[[de:Rollen und Rechte]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Installing_a_new_theme&amp;diff=104179</id>
		<title>Installing a new theme</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Installing_a_new_theme&amp;diff=104179"/>
		<updated>2013-04-25T23:47:37Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
A site administrator who has access to the Moodle code can easily install a new theme Moodle theme.  Once installed, the theme will be available via the appropriate site, category, course or activity menu.&lt;br /&gt;
&lt;br /&gt;
Custom themes are available for download from the [http://moodle.org/plugins/browse.php?list=category&amp;amp;id=3 Moodle Plugins directory].&lt;br /&gt;
&lt;br /&gt;
==Steps to install a new theme in the code==&lt;br /&gt;
In this example, we will install a new theme that has been made by someone else. &lt;br /&gt;
&lt;br /&gt;
# Download the zip file of the theme [[Image:instheme01.png|thumb|400px|center|Select the theme]]&lt;br /&gt;
# Extract to its own named folder [[Image:instheme01a.png|thumb|center|Select the theme]]&lt;br /&gt;
# Using your FTP program, upload this folder to the /theme folder of your Moodle installation [[Image:instheme04.png|thumb|400px|center|Upload the unzipped file]]&lt;br /&gt;
#Ensure the new theme folder and its contents are readable by the webserver. Change the Read and Write permissions for the files and folder. Incorrect permissions may prevent display of the newly installed theme.&lt;br /&gt;
##For example in Linus use the CHMOD command in set the permissions to 755 - Owner read/write/execute, Group read/execute, Everyone read/execute.  &lt;br /&gt;
# Go to Site administration &amp;gt; Notifications to see if the new theme requires any decisions or updating of Moodle code.&lt;br /&gt;
&lt;br /&gt;
Now you or others can select the new theme.&lt;br /&gt;
&lt;br /&gt;
==Steps to change the theme==&lt;br /&gt;
In this example, we will change our site theme to a new one that we added.  Your [[Roles|role]] will require the permissions to allow you to change themes.  Remember that themes can be changed in many [[Context|contexts]] in Moodle.&lt;br /&gt;
&lt;br /&gt;
You may select different themes depending upon the device that will be viewing Moodle.  For example, you might have one theme for computers with monitors and another for mobile phones and another for tablets.&lt;br /&gt;
&lt;br /&gt;
# Go to the Settings block &lt;br /&gt;
# Open &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme Selector&#039;&#039; link [[Image:instheme07.png|thumb|400px|center|Open the Appearance &amp;gt; Theme selector page]]&lt;br /&gt;
# Click on &amp;quot;Clear theme caches&amp;quot; button [[Image:instheme08.png|thumb|400px|center|Click the Clear theme caches button]]&lt;br /&gt;
# Click on the &amp;quot;Select theme&amp;quot; button on the right of the current theme being used for the device[[Image:instheme09.png|thumb|400px|center|Click the Clear theme caches button]]&lt;br /&gt;
# Scroll down to find the theme you wish to use&lt;br /&gt;
# Click the &amp;quot;Use theme&amp;quot; button next to that theme [[Image:instheme10.png|thumb|400px|center|Click the Use theme button]]&lt;br /&gt;
# Moodle will tell you it has been saved as the default theme [[Image:instheme11.png|thumb|400px|center|Checking if the theme is the one selected]]&lt;br /&gt;
# Check your Moodle site by going to the Moodle site&#039;s home page.  &lt;br /&gt;
# You may have to refresh your browser to see the new theme.&lt;br /&gt;
&lt;br /&gt;
[[de:Ein_neues_Design_installieren]]&lt;br /&gt;
[[es:Instalando un tema nuevo]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Standard_themes&amp;diff=104178</id>
		<title>Standard themes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Standard_themes&amp;diff=104178"/>
		<updated>2013-04-25T23:45:28Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
==Theme selector==&lt;br /&gt;
&lt;br /&gt;
An administrator can set a theme for the site in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme selector&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Different themes may be set according to &#039;device type&#039; - default, legacy (for older browsers), mobile and tablet.&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme selector&#039;&#039;&lt;br /&gt;
*Click on the &amp;quot;Select theme&amp;quot; button next to the type you wish to change&lt;br /&gt;
*Scroll down to see the previews of the available themes and click on the &amp;quot;Use theme&amp;quot; button to chose the theme&lt;br /&gt;
*The next screen will provide information about the theme. Click &amp;quot;Continue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note 1: Moodle caches themes so if you don&#039;t immediately see changed settings that you were expecting, click the &amp;quot;Clear theme caches&amp;quot; button at the top of the Theme selector page.&lt;br /&gt;
&lt;br /&gt;
Note 2: The selected theme may be overridden if user/course or category themes have been allowed in the [[Theme settings]].&lt;br /&gt;
&lt;br /&gt;
Tip: The [[MyMobile theme]] is especially designed for mobile devices.&lt;br /&gt;
&lt;br /&gt;
[[File:Themeselector21.png|thumb|center|theme selector showing default and none selected in other theme types]]&lt;br /&gt;
&lt;br /&gt;
==Notes on individual themes==&lt;br /&gt;
&lt;br /&gt;
Arialist: does not display the logo at course/course level.  This means it is not useful for branding at a category/course level.&lt;br /&gt;
&lt;br /&gt;
===Themes that allow you to change a logo===&lt;br /&gt;
*Arialist (only at home page level) Code to change this: http://moodle.org/mod/forum/discuss.php?d=192409&lt;br /&gt;
*Brick&lt;br /&gt;
*Formal White&lt;br /&gt;
*Magazine&lt;br /&gt;
*Skylight&lt;br /&gt;
*Splash&lt;br /&gt;
&lt;br /&gt;
===Themes that allow custom CSS===&lt;br /&gt;
*Arialist&lt;br /&gt;
*Fusion&lt;br /&gt;
*Non-zero&lt;br /&gt;
*Overlay&lt;br /&gt;
*Skyhigh&lt;br /&gt;
*Splash&lt;br /&gt;
&lt;br /&gt;
===Themes with right hand column(s) only===&lt;br /&gt;
*Arialist&lt;br /&gt;
*Brick&lt;br /&gt;
*Fusion&lt;br /&gt;
*Nimble &lt;br /&gt;
*Non-zero (2 columns)&lt;br /&gt;
*Overlay (2 columns)&lt;br /&gt;
*Skyhigh (2 columns)&lt;br /&gt;
&lt;br /&gt;
===Various forum help that may be useful===&lt;br /&gt;
#Changing logo height in Afterburner: http://moodle.org/mod/forum/discuss.php?d=197924&lt;br /&gt;
#Moving columns in Skyhigh: http://moodle.org/mod/forum/discuss.php?d=209626&lt;br /&gt;
#Tweaks to header area in Formal White: http://moodle.org/mod/forum/discuss.php?d=167544&lt;br /&gt;
&lt;br /&gt;
==Standard themes==&lt;br /&gt;
&lt;br /&gt;
In alphabetical order here are the standard themes in Moodle:&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Standard Themes - click on any to enlarge&amp;quot; widths=&amp;quot;200px&amp;quot; heights=&amp;quot;113px&amp;quot; perrow=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
Image:theme_afterburner.png|Afterburner theme&lt;br /&gt;
Image:theme_anomaly.png|Anomaly theme&lt;br /&gt;
Image:theme_arialist.png|Arialist theme&lt;br /&gt;
Image:theme_binarius.png|Binarius theme&lt;br /&gt;
Image:theme_boxxie.png|Boxxie theme&lt;br /&gt;
Image:theme_brick.png|Brick theme&lt;br /&gt;
Image:theme_formalwhite.png|Formal white theme&lt;br /&gt;
Image:theme_formfactor.png|FormFactor theme&lt;br /&gt;
Image:theme_fusion.png|Fusion theme&lt;br /&gt;
Image:theme_leatherbound.png|Leatherbound theme&lt;br /&gt;
Image:theme_magazine.png|Magazine theme&lt;br /&gt;
Image:Mymobile_theme.png|MyMobile theme&lt;br /&gt;
Image:theme_nimble.png|Nimble theme&lt;br /&gt;
Image:theme_nonzero.png|Nonzero theme&lt;br /&gt;
Image:theme_overlay.png|Overlay theme&lt;br /&gt;
Image:theme_serenity.png|Serenity theme&lt;br /&gt;
Image:theme_skyhigh.png|Sky High theme&lt;br /&gt;
Image:theme_splash.png|Splash theme&lt;br /&gt;
Image:theme_standard.png|Standard theme&lt;br /&gt;
&amp;lt;/gallery&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Theme credits]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=189573 What counts as a &#039;legacy&#039; device type?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[de:Standard-Designs]]&lt;br /&gt;
[[es:Temas estándar]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Media_embedding&amp;diff=103997</id>
		<title>Media embedding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Media_embedding&amp;diff=103997"/>
		<updated>2013-04-16T20:23:28Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Working with media}}&lt;br /&gt;
==Embedding audio and video==&lt;br /&gt;
[[File:mp3 player.png|thumb|MP3 player]]&lt;br /&gt;
Audio and video may be embedded in a course in the following ways:&lt;br /&gt;
&lt;br /&gt;
* As a [[File module settings|file resource]] &lt;br /&gt;
* As a [[URL module settings|URL resource]] with embed as the display option&lt;br /&gt;
* In a [[Lesson settings|lesson popup]]&lt;br /&gt;
* In any text area using the Moodle media button in the [[Text editor|text editor]] or simply by typing the URL of media file&lt;br /&gt;
&lt;br /&gt;
The media file link is then replaced with an appropriate multimedia player which can play the resource.&lt;br /&gt;
&lt;br /&gt;
==Enabling media embedding==&lt;br /&gt;
&lt;br /&gt;
To enable the embedding of media files, an admin must enable&lt;br /&gt;
&lt;br /&gt;
# Appropriate media players (see below)&lt;br /&gt;
# The [[Multimedia plugins filter]] - unless you only want to allow embedding in File, URL and Lesson modules.&lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
An administrator can enable selected media players in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Media embedding&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Available players===&lt;br /&gt;
* YouTube (displays videos hosted on youtube)&lt;br /&gt;
* Vimeo (displays videos hosted on vimeo)&lt;br /&gt;
* .mp3 - MPEG Audio Stream, Layer III&lt;br /&gt;
* .flv - Flash video&lt;br /&gt;
* .f4v - Flash video&lt;br /&gt;
* .swf - Macromedia Flash animation File (Adobe, Inc.) &lt;br /&gt;
:&#039;&#039;&#039;Note:&#039;&#039;&#039; Only used in trusted texts as it has potential security issues&lt;br /&gt;
* .ogg - HTML 5 audio&lt;br /&gt;
* .acc - HTML 5 audio&lt;br /&gt;
* .mp3 - HTML 5 audio&lt;br /&gt;
* .webm - HTML 5 video&lt;br /&gt;
* .m4v - HTML 5 video&lt;br /&gt;
* .ogv  - HTML 5 video&lt;br /&gt;
&lt;br /&gt;
===Legacy media players===&lt;br /&gt;
The following legacy media player formats are also available but not recommended for general usage:&lt;br /&gt;
* .mov - QuickTime player (requires QuickTime player or [http://en.wikipedia.org/wiki/Codec codec])&lt;br /&gt;
* .mp4 - QuickTime player (requires QuickTime player or codec)&lt;br /&gt;
* .m4a - QuickTime player (requires QuickTime player or codec)&lt;br /&gt;
* .mpg - MPEG animation - QuickTime player (requires QuickTime player or codec)&lt;br /&gt;
* .wmv - Windows media player (Microsoft)-not guaranteed to work in browsers other than IE and non-Windows systems&lt;br /&gt;
* .avi - Windows media player - not guaranteed to work in browsers other than IE and non-Windows systems&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[:dev:Media embedding]] developer documentation including information on how to change the size of the media player&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Einbetten von Medien]]&lt;br /&gt;
[[es:Incrustación de medios]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Media_embedding&amp;diff=103996</id>
		<title>Media embedding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Media_embedding&amp;diff=103996"/>
		<updated>2013-04-16T20:22:56Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Working with media}}&lt;br /&gt;
==Embedding audio and video==&lt;br /&gt;
[[File:mp3 player.png|thumb|MP3 player]]&lt;br /&gt;
Audio and video may be embedded in a course in the following ways:&lt;br /&gt;
&lt;br /&gt;
* As a [[File module settings|file resource]] &lt;br /&gt;
* As a [[URL module settings|URL resource]] with embed as the display option&lt;br /&gt;
* In a [[Lesson settings|lesson popup]]&lt;br /&gt;
* In any text area using the Moodle media button in the [[Text editor|text editor]] or simply by typing the URL of media file&lt;br /&gt;
&lt;br /&gt;
The media file link is then replaced with an appropriate multimedia player which can play the resource.&lt;br /&gt;
&lt;br /&gt;
==Enabling media embedding==&lt;br /&gt;
&lt;br /&gt;
To enable the embedding of media files, an admin must enable&lt;br /&gt;
&lt;br /&gt;
# Appropriate media players (see below)&lt;br /&gt;
# The [[Multimedia plugins filter]] - unless you only want to allow embedding in File, URL and Lesson modules.&lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
An administrator can enable selected media players in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Media embedding&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Available players===&lt;br /&gt;
* YouTube (displays videos hosted on youtube)&lt;br /&gt;
* Vimeo (displays videos hosted on vimeo)&lt;br /&gt;
* .mp3 - MPEG Audio Stream, Layer III&lt;br /&gt;
* .flv - Flash video&lt;br /&gt;
* .f4v - Flash video&lt;br /&gt;
* .swf - Macromedia Flash animation File (Adobe, Inc.) &lt;br /&gt;
:&#039;&#039;&#039;Note:&#039;&#039;&#039; Only used in trusted texts as it has potential security issues&lt;br /&gt;
* .ogg - HTML 5 audio&lt;br /&gt;
* .acc - HTML 5 audio&lt;br /&gt;
* .mp3 - HTML 5 audio&lt;br /&gt;
* .webm - HTML 5 video&lt;br /&gt;
* .m4v - HTML 5 video&lt;br /&gt;
* .ogv  - HTML 5 video&lt;br /&gt;
&lt;br /&gt;
===Legacy media players===&lt;br /&gt;
The following legacy media player formats are also available but not recommended for general usage:&lt;br /&gt;
* .mov - QuickTime player (requires QuickTime player or [http://en.wikipedia.org/wiki/Codec codec])&lt;br /&gt;
* .mp4 - QuickTime player (requires QuickTime player or codec)&lt;br /&gt;
* .m4a - QuickTime player (requires QuickTime player or codec)&lt;br /&gt;
* .mpg - MPEG animation - QuickTime player (requires QuickTime player or codec)&lt;br /&gt;
* .wmv - Windows media player (Microsoft)-not guaranteed to work in browsers other than IE and non-Windows systems&lt;br /&gt;
* .avi - Windows media player - not guaranteed to work in browsers other than IE and non-Windows systems&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[:dev:Media embedding]] developer documentation including information on how to change the size of the media player&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Einbetten von Medien]]&lt;br /&gt;
[[es;Incrustaci{on de medios]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Working_with_media&amp;diff=103995</id>
		<title>Working with media</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Working_with_media&amp;diff=103995"/>
		<updated>2013-04-16T20:10:52Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing content}}&lt;br /&gt;
Moodle includes a wide variety of ways in which both teachers and students can add media. A teacher, for example, might include a video or sound file in a Lesson or Quiz which could then form the  basis of a set of questions. &lt;br /&gt;
* [[Video]]&lt;br /&gt;
* [[Audio_in_Moodle|Audio]]&lt;br /&gt;
* [[Images]]&lt;br /&gt;
* [[Media embedding]]&lt;br /&gt;
&lt;br /&gt;
A student could add an image to a forum discussion, glossary or database. It is also possible (with certain restrictions) to embed code from sites such as Google Maps or Voki. &lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
For sound and video to be displayed in their own players, the administrator needs to enable the [[Multimedia plugins filter]]. There are several [[Repositories|repositories]] housing media, such as [[Youtube_videos|Youtube]] or [[Flickr|Flickr]] which may also be enabled by the administrator so that users can select from these locations.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Multimedia plugins filter]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Multimedia]]&lt;br /&gt;
&lt;br /&gt;
[[de:Arbeiten mit Multimedia]]&lt;br /&gt;
[[es:Trabajando con medios]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Portfolios&amp;diff=103994</id>
		<title>Portfolios</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Portfolios&amp;diff=103994"/>
		<updated>2013-04-16T19:41:43Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing content}}&lt;br /&gt;
Portfolios in Moodle make it easy for a student to export their work to an external portfolio.  For example, student work might include forum posts or assignment submissions that they believe demonstrates their knowledge. &lt;br /&gt;
&lt;br /&gt;
Portfolios are disabled by default in Moodle and must be enabled by a site administrator. See [[Managing portfolios]] for details.&lt;br /&gt;
&lt;br /&gt;
* [[Box.net portfolio|Box.net]]&lt;br /&gt;
* [[File download]]&lt;br /&gt;
* [[Flickr.com portfolio|Flickr.com]]&lt;br /&gt;
* [[Google Docs portfolio|Google Docs]]&lt;br /&gt;
* [[Picasa portfolio|Picasa]]&lt;br /&gt;
* [[Mahara portfolio|Mahara ePortfolio]]&lt;br /&gt;
* [[Portfolios FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Exporting to portfolio==&lt;br /&gt;
&lt;br /&gt;
When portfolios are enabled, forum posts and other exportable data (see below) have an export to portfolio icon or link beside them.&lt;br /&gt;
&lt;br /&gt;
To export a forum post to a portfolio&lt;br /&gt;
&lt;br /&gt;
# Click the &#039;Export to portfolio&#039; link&lt;br /&gt;
# Select the portfolio you wish to export to e.g. Google Docs or file download (this step will be skipped if there&#039;s only one)&lt;br /&gt;
# If prompted, select an export format e.g. HTML&lt;br /&gt;
# If file download was selected in step 2, you can then save the file, otherwise you will be given the option to return to the page you were previously viewing or visit your portfolio (certain portfolios only)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:Forum post for export.png|thumb|1. Forum post for export]]&lt;br /&gt;
| [[File:Portfolio export select destination.png|thumb|2. Selecting the export destination]]&lt;br /&gt;
| [[File:Portfolio export select format.png|thumb|3. Selecting an export format]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Items which may be exported to portfolio==&lt;br /&gt;
&lt;br /&gt;
* Assignment submissions - single and multiple file uploads&lt;br /&gt;
* Chat sessions&lt;br /&gt;
* Database activity module entries (##export## tag may be added to list and single templates)&lt;br /&gt;
* Database activities&lt;br /&gt;
* Forum posts&lt;br /&gt;
* Glossary entries&lt;br /&gt;
&lt;br /&gt;
==Export formats==&lt;br /&gt;
&lt;br /&gt;
Possible export formats include&lt;br /&gt;
* HTML&lt;br /&gt;
* [[Development:LEAP2A_Portfolio_Implementation|LEAP2A]], a specification for e-portfolio portability&lt;br /&gt;
* Images&lt;br /&gt;
* Text&lt;br /&gt;
&lt;br /&gt;
Additional formats such as PDF may be added in future.&lt;br /&gt;
&lt;br /&gt;
==Managing your own portfolios==&lt;br /&gt;
While the administrator determines which portfolios are enabled on the site in [[Managing portfolios]], an individual user can choose which portfolios to display or hide from &#039;&#039;Settings&amp;gt;My profile settings&amp;gt;Portfolios&amp;gt;Configure&#039;&#039; and can see the record of all items exported from &#039;&#039;Settings&amp;gt;My profile settings&amp;gt;Portfolios&amp;gt;Transfer logs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:portfoliosettingsprofile.png|thumb|Managing your own portfolios]]&lt;br /&gt;
| [[File:transferlogs.png|thumb|Viewing the record of exports to portfolios]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://www.youtube.com/watch?v=Ic2j6esjPR8 Portfolios in Moodle 2.0 video]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Electronic_portfolio e-Portfolio] overview at Wikipedia&lt;br /&gt;
&lt;br /&gt;
[[Category:Portfolios]]&lt;br /&gt;
&lt;br /&gt;
[[es:Portafolios]]&lt;br /&gt;
[[eu:Portfolioak]]&lt;br /&gt;
[[de:Portfolios]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=HTML_tidy_filter&amp;diff=103993</id>
		<title>HTML tidy filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=HTML_tidy_filter&amp;diff=103993"/>
		<updated>2013-04-16T18:22:40Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Filters}}&lt;br /&gt;
This filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled with the libtidy option; see http://www.php.net/tidy. The Using Moodle discussion [http://moodle.org/mod/forum/discuss.php?d=28418 Tidy Filter for Moodle 1.5] contains more details.&lt;br /&gt;
&lt;br /&gt;
[[de:HTML Prüfung]]&lt;br /&gt;
[[es:Filtro_de_HTML_limpio]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Email_protection_filter&amp;diff=103992</id>
		<title>Email protection filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Email_protection_filter&amp;diff=103992"/>
		<updated>2013-04-16T18:16:59Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Filters}}&lt;br /&gt;
The email protection filter obfuscates email address links to make them more difficult for spammers to harvest from a web page.&lt;br /&gt;
&lt;br /&gt;
[[de:E-Mail-Absicherung]]&lt;br /&gt;
[[es:Filtro_de_protección_de_Email]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Filters&amp;diff=103991</id>
		<title>Filters</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Filters&amp;diff=103991"/>
		<updated>2013-04-16T17:04:13Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing content}}&lt;br /&gt;
Filters can be used to add links, insert multimedia players, convert Mathematical expressions or emoticons into images and more.&lt;br /&gt;
&lt;br /&gt;
A filter may be enabled at the site level and then removed as needed at the course or activity level. Thus a teacher can disable glossary auto-linking in a quiz for example.&lt;br /&gt;
&lt;br /&gt;
==Standard filters==&lt;br /&gt;
&lt;br /&gt;
Filters in Moodle include:&lt;br /&gt;
&lt;br /&gt;
*[[Activity names auto-linking filter|Activity names auto-linking]] - This scans text for activity titles that exist in the same course and creates a link&lt;br /&gt;
*[[Algebra filter|Algebra notation]] - This filter will convert algebra code into GIF images&lt;br /&gt;
*[[Convert URLs into links filter|Convert URLs into links]] - This filter converts URLs in selected formats, such as Moodle auto-format, to click-able links&lt;br /&gt;
*[[Database auto-linking filter|Database auto-linking]] - As the name suggests, this filter enables automatic linking of [[Database module]] entries&lt;br /&gt;
*[[Display emoticons as images filter|Display emoticons as images]] - This converts emoticon (smiley) characters into images&lt;br /&gt;
*[[Email protection filter|Email protection]] - This obfuscates email address links to make them more difficult for spammers to harvest &lt;br /&gt;
*[[Glossary auto-linking filter|Glossary auto-linking]] - This scans text for glossary entries that exist in the same course and creates a link&lt;br /&gt;
*[[Multimedia plugins filter|Multimedia plugins]] - This finds a link in text that points to a multimedia resource and replaces the link with an appropriate multimedia player code which can play the resource&lt;br /&gt;
*[[Multi-language content filter|Multi-language content]] - This filter enables resources to be created in multiple languages&lt;br /&gt;
*[[TeX notation filter|TeX notation]]&lt;br /&gt;
*[[Word censorship]] - This filter &amp;quot;blacks out&amp;quot; words found on a list&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Managing filters]]&lt;br /&gt;
*[[Filter settings|Common filter settings]] for the site&lt;br /&gt;
*[[Filters FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[de:Filter]]&lt;br /&gt;
[[es:Filtros]]&lt;br /&gt;
[[fr:Filtres 2.0]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Multimedia_plugins_filter&amp;diff=103990</id>
		<title>Multimedia plugins filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Multimedia_plugins_filter&amp;diff=103990"/>
		<updated>2013-04-16T16:35:40Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Filters}}&lt;br /&gt;
The Multimedia plugins filter finds a link in text that points to a multimedia resource and replaces the link with an appropriate multimedia player code which can play the resource.  The actual player resides on each users&#039; computer.&lt;br /&gt;
&lt;br /&gt;
For example, a teacher may put a MP3 audio file as a resource in their course, or have a URL link to an external MP3 file.  When the MP3 audio plugin has been turned on, the student will be able to play them in Moodle using a Flash media player on their computer.  See also [[Media embedding]].&lt;br /&gt;
&lt;br /&gt;
== Site administration settings ==&lt;br /&gt;
&lt;br /&gt;
A site administrator can enable the multimedia plugins filter in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Filters&#039;&#039; and can enable selected media players in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Media embedding&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Note: Prior to Moodle 2.3, settings for enabling selected media players could be found as multimedia plugins filter settings.&lt;br /&gt;
&lt;br /&gt;
== Required software on user&#039;s computer ==&lt;br /&gt;
&lt;br /&gt;
Although Moodle prepares the media files to be played in the browser, the actual playback is handled by various types of browser plug-in software, primarily Adobe Flash, Quicktime, Windows Media Player and Real Player. If users do not have these installed they may be prompted to go and install them by their browser. These pieces of software are generally free, easily installed and widely used so this will only be an issue for small numbers of users.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Multimedia plugins FAQ]]&lt;br /&gt;
* [[Video| Video]]&lt;br /&gt;
* [[Audio| Audio]]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=98698 swf filter security]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=125619 How to upload a screen capture video to the Moodle?]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=143478 Best video format]&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
[[Category:Multimedia]]&lt;br /&gt;
&lt;br /&gt;
[[de:Multimedia-Plugins]]&lt;br /&gt;
[[fr:Extensions multimédia]]&lt;br /&gt;
[[es:Filtro_de_plugins_multimedia]]&lt;br /&gt;
[[ja:マルチメディアプラグイン]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_displayerrors&amp;diff=103989</id>
		<title>report/security/report security check displayerrors</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_displayerrors&amp;diff=103989"/>
		<updated>2013-04-16T15:32:01Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Security overview report}}If PHP is set to display errors, then anyone can enter a faulty URL causing PHP to give up valuable information about directory structures and so on. &lt;br /&gt;
&lt;br /&gt;
If you go to &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Reports &amp;gt; Security overview&#039;&#039;, displaying of PHP errors status is Warning.   &lt;br /&gt;
on your web server, locate php.ini, open it in wordpad and search for &amp;quot;&#039;&#039;&#039;display_errors&#039;&#039;&#039;&amp;quot;.  Ensure that it is set to &amp;quot;&#039;&#039;&#039;display_errors = Off&#039;&#039;&#039;&amp;quot; and then save.  If this is on a hosted webserver (e.g. network solutions), insert &amp;quot;&#039;&#039;&#039;display_errors = Off&#039;&#039;&#039;&amp;quot; into the php.ini or call them for instructions (took 2 minutes) on how to do it.  Very simple to modify.&lt;br /&gt;
&lt;br /&gt;
Please note it is not enough to change debugging level in Moodle settings because we need to prevent errors in scripts that are not supposed to be accessed directly.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
* Using [http://moodle.org/mod/forum/discuss.php?d=101761 upgrade to 1.9.2 has PHP setting display_errors message] Moodle forum discussion&lt;br /&gt;
&lt;br /&gt;
[[es:report/security/report_security_check_displayerrors]]&lt;br /&gt;
[[eu:report/security/report_security_check_displayerrors]]&lt;br /&gt;
[[fr:report/security/report security check displayerrors]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_unsecuredataroot&amp;diff=103988</id>
		<title>report/security/report security check unsecuredataroot</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_unsecuredataroot&amp;diff=103988"/>
		<updated>2013-04-16T15:19:34Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Security overview report}}The dataroot is the directory where Moodle stores user files. It should not be directly accessible via the web. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
* MDL-15716 Tighten dataroot security checks and warn the administrator &#039;loudly&#039;&lt;br /&gt;
&lt;br /&gt;
[[es:report/security/report_security_check_unsecuredataroot]]&lt;br /&gt;
[[eu:report/security/report_security_check_unsecuredataroot]]&lt;br /&gt;
[[ja:レポート/セキュリティ/レポート安全ではないdatarootのチェック]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_riskadmin&amp;diff=103986</id>
		<title>report/security/report security check riskadmin</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_riskadmin&amp;diff=103986"/>
		<updated>2013-04-16T15:05:08Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Security overview report}}The number of [[Site administrators]] (in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Site administrators&#039;&#039;) should be kept to a minimum. The [[Manager role]] should be used instead to give selected users additional permissions.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
&lt;br /&gt;
[[es:report/security/report_security_check_riskadmin]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_noauth&amp;diff=103984</id>
		<title>report/security/report security check noauth</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_noauth&amp;diff=103984"/>
		<updated>2013-04-16T14:57:31Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Security overview report}}With the [[No authentication]] method enabled, a user can create an account without any kind of authentication from other systems, and with no email-based confirmation that the email address that they have provided is valid, or even exists!&lt;br /&gt;
&lt;br /&gt;
This will create a very insecure Moodle site, and is not recommended for any production site unless the site is protected via some other means.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
&lt;br /&gt;
[[es:report/security/report_security_check_noauth]]&lt;br /&gt;
[[eu:report/security/report_security_check_noauth]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_globals&amp;diff=103983</id>
		<title>report/security/report security check globals</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=report/security/report_security_check_globals&amp;diff=103983"/>
		<updated>2013-04-16T14:34:51Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish version of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Security overview report}}&#039;&#039;&#039;register_globals&#039;&#039;&#039; is a PHP setting that must be disabled for Moodle (and almost all PHP software) to operate safely. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
&lt;br /&gt;
[[eu:report/security/report_security_check_globals]]&lt;br /&gt;
[[es:report/security/report_security_check_globals]]&lt;br /&gt;
[[ja:レポート/セキュリティ/レポートglobalsのチェック]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Grade_items&amp;diff=103979</id>
		<title>Grade items</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Grade_items&amp;diff=103979"/>
		<updated>2013-04-15T17:06:40Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing grades}}&lt;br /&gt;
{{Improve}}&lt;br /&gt;
A grade item is a unit (typically an activity) where course participants are assessed through a grade or mark.&lt;br /&gt;
As such, a grade item is a container for grades and a set of settings applied to these grades. The settings affect the calculation and display of the grades in the gradebook reports and [[Grade_export|exports]].&lt;br /&gt;
&lt;br /&gt;
Grade items may refer to course activities (e.g. a quiz, an assignment etc.), [[Outcomes]] or  manual grades. &lt;br /&gt;
&lt;br /&gt;
== Grade items and gradebook ==&lt;br /&gt;
The three building blocks of the Gradebook are:&lt;br /&gt;
&lt;br /&gt;
#The grade item&lt;br /&gt;
#The [[Grade_categories|grade category]]&lt;br /&gt;
#The [[Grades|grade]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grade items are represented by columns in the [[Grader_report | grader report]].&lt;br /&gt;
&lt;br /&gt;
Within a category, a [[Grades|grade]] summary is also a grade item itself.  Summary grade items for a category can show up in reports, and can be used in the calculation of the grade for the parent category.&lt;br /&gt;
&lt;br /&gt;
== Activity-based grade items ==&lt;br /&gt;
[[Image:Edit grade item.png|right|thumb|Editing a grade item]]&lt;br /&gt;
Modules that include a form of grading use the [[Development:Grades#API_for_communication_with_modules.2Fblocks|Gradebook API]] to generate a matching grade item, and to communicate their grades to the gradebook. The generated grade item can later be edited from within the gradebook interface (Course -&amp;gt; Grades -&amp;gt; Edit Categories and items -&amp;gt; Edit (hand icon) grade item), as seen in the screenshot to the right, but several of its settings will be &#039;frozen&#039;, only changeable from the activity module&#039;s interface. These are listed and explained below in the manual grade items section.&lt;br /&gt;
&lt;br /&gt;
Here is a list of the settings that can be edited for an activity-based grade item:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Item info&#039;&#039;&#039;: General information about the grade item. Optional.&lt;br /&gt;
*&#039;&#039;&#039;Grade to pass&#039;&#039;&#039;: Specify the minimum grade a student must achieve to be considered to have passed this item. This must be in real grades, not a percentage. Once this is done, grades will be highlighted in red for fail and green for pass in the gradebook. It doesn&#039;t work for scales, as it is yet to be fully implemented in Moodle 1.9. It is planned for use in [[Development:Course completion|course completion]] in Moodle 2.0.&lt;br /&gt;
*&#039;&#039;&#039;Grade display type&#039;&#039;&#039;: See the [[Grade_item_settings#Grade_display_type | Grade display type doc]]&lt;br /&gt;
*&#039;&#039;&#039;Overall decimal points&#039;&#039;&#039;: This specifies the number of decimal points to display for each grade. It has no effect on grade calculations, which are made with an accuracy of 5 decimal places. &lt;br /&gt;
*&#039;&#039;&#039;Multiplicator&#039;&#039;&#039;: Factor by which all grades for this grade item will be multiplied, with a maximum value of the maximum grade. For example, if the multiplicator is 2 and the maximum grade is 100, then all grades less than 50 are doubled, and all grades 50 and above are changed to 100. &lt;br /&gt;
*&#039;&#039;&#039;Offset&#039;&#039;&#039;: Number that will be added to every grade for this grade item, after the Multiplicator is applied. (Can be a negative number.)&lt;br /&gt;
*&#039;&#039;&#039;Hidden&#039;&#039;&#039;: Whether this grade item should be hidden from students.&lt;br /&gt;
*&#039;&#039;&#039;Hidden until&#039;&#039;&#039;: An optional date after which the grade item will no longer be hidden (i.e. a grades release date)&lt;br /&gt;
*&#039;&#039;&#039;Locked&#039;&#039;&#039;: Whether or not to lock this grade item. A locked grade item doesn&#039;t accept changes to its settings or grades from its related module.&lt;br /&gt;
*&#039;&#039;&#039;Locked after&#039;&#039;&#039;: A date after which the locking will be effective, usually after the grades release date.&lt;br /&gt;
&lt;br /&gt;
== Grade outcome items ==&lt;br /&gt;
[[Image:grade_outcome_item.png|right|thumb|Editing a grade outcome item]]&lt;br /&gt;
These can either be generated by the creation of a new activity module (by selecting [[Outcomes]] in the module creation form), or manually created like manual grade items. A grade outcome item uses a course outcome as its grading type, so such an outcome must be made available at the course level before a grade outcome item can be manually created.&lt;br /&gt;
&lt;br /&gt;
Grade outcome items can optionally be linked with an activity module. This is done automatically when a grade outcome item is generated by the creation of an activity module in which outcomes were selected. In this scenario, a grade category is also created and named after the activity module, and the grade item and grade outcome items are created as children of that category.&lt;br /&gt;
&lt;br /&gt;
The settings of the grade outcome item edit form are identical to those of manual grade items, with the addition of two settings:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Outcome&#039;&#039;&#039;: The course outcome represented by this item&lt;br /&gt;
*&#039;&#039;&#039;Linked activity&#039;&#039;&#039;: The optional activity module to which this item will be linked&lt;br /&gt;
&lt;br /&gt;
== Manual grade items ==&lt;br /&gt;
[[Image:manual_item.png|right|thumb|Editing a manual grade item]]&lt;br /&gt;
These grade items are created manually through the &amp;quot;Edit Categories and Items&amp;quot; page. The &amp;quot;Add grade item&amp;quot; button is clicked, and the form appears. Several options are available here which are normally automatically filled out by the activity module creating an activity-based grade item:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Item name&#039;&#039;&#039;: The display name of your grade item&lt;br /&gt;
*&#039;&#039;&#039;ID Number&#039;&#039;&#039;: An arbitrary string of characters used to refer to this grade item in Formulas. If set, it must be unique.&lt;br /&gt;
*&#039;&#039;&#039;Grade type&#039;&#039;&#039;: The type of grade: None (no grading possible), Value (a numerical value), Scale (an item in a list) or Text (arbitrary text). &lt;br /&gt;
*&#039;&#039;&#039;Scale&#039;&#039;&#039;: Which scale to use for grading: available only when the Scale grade type is selected. &lt;br /&gt;
*&#039;&#039;&#039;Maximum grade&#039;&#039;&#039;: The maximum grade that can be given (for scales: the number of items in the scale - 1)&lt;br /&gt;
*&#039;&#039;&#039;Minimum grade&#039;&#039;&#039;: The minimum grade that can be given (for scales: 0)&lt;br /&gt;
&lt;br /&gt;
Conversely, two of the settings found in the form for activity-based grade items are absent from this form:&lt;br /&gt;
*Multiplicator&lt;br /&gt;
*Offset&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Grade item settings]] - for administrators&lt;br /&gt;
&lt;br /&gt;
[[ca:grade/edit/tree/item]]&lt;br /&gt;
[[cs:Položky hodnocení]]&lt;br /&gt;
[[de:Bewertungsaspekte]]&lt;br /&gt;
[[es:Ítems de calificación]]&lt;br /&gt;
[[fr:Éléments de note]]&lt;br /&gt;
[[ja:評定項目]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Grade_calculations&amp;diff=103978</id>
		<title>Grade calculations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Grade_calculations&amp;diff=103978"/>
		<updated>2013-04-15T16:38:42Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing grades}}&lt;br /&gt;
A grade calculation is a formula used to determine grades, based (optionally) on other grade items. Note that this is not the same as [[Calculated_question_type|Calculated question types]].&lt;br /&gt;
&lt;br /&gt;
Calculations for the gradebook follow the pattern of formulas/functions in popular spreadsheet programs. They start with an equal (=) sign, and use common mathematical operators and functions to produce a single numerical output. This output is then used as the computed value for the grade item you are editing.&lt;br /&gt;
&lt;br /&gt;
==Setting a grade calculation==&lt;br /&gt;
[[Image:Calc_icon.JPG|thumb|Calculator symbol]]&lt;br /&gt;
[[Image:Final_calc.JPG|thumb|Example calculation]]&lt;br /&gt;
To set a grade calculation:&lt;br /&gt;
# Login as teacher or other user with permission to edit grades&lt;br /&gt;
# Click on Grades in the course administration block&lt;br /&gt;
# Click the &#039;Categories and items&#039; tab (or select it from the gradebook dropdown menu)&lt;br /&gt;
# Click the &#039;calculator symbol&#039; (in the &#039;Actions&#039; column, on the category total line) for the category you wish to set a calculation for&lt;br /&gt;
# Start with an equal sign (=)&lt;br /&gt;
# Choose a function; Example: =sum()&lt;br /&gt;
# Plug in your ID numbers enclosed in double square brackets, for example &amp;lt;nowiki&amp;gt;=sum([[item1]][[item2]][[item3]])&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
# Separate each ID number with a comma, for example &amp;lt;nowiki&amp;gt;=sum([[item1]],[[item2]],[[item3]])&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
# Click the &amp;quot;Save Changes&amp;quot; button&lt;br /&gt;
&lt;br /&gt;
==Assigning ID numbers==&lt;br /&gt;
&lt;br /&gt;
You can include the values of other grade items by using their ID number as references in your formulas. The ID number is surrounded by double square brackets, for example if you have a grade item with Quiz.3 as ID number, you will refer to this item as &amp;lt;nowiki&amp;gt;[[Quiz.3]]&amp;lt;/nowiki&amp;gt; in your calculation.&lt;br /&gt;
&lt;br /&gt;
Below the calculation field is a list of your course with its grade categories and grade items. Next to each item or category&#039;s total is displayed the ID number you can use in your calculation (already surrounded with double square brackets). However, since the ID number is optional, some items may not yet have one. These items without an ID number have instead a form field which lets you enter an ID number directly.&lt;br /&gt;
&lt;br /&gt;
As soon as you have assigned the ID numbers you need, you can click the &amp;quot;Add ID numbers&amp;quot; button, and the page will reload and show you the same list with the ID numbers you have just assigned.&lt;br /&gt;
&lt;br /&gt;
==Calculation functions==&lt;br /&gt;
&lt;br /&gt;
Every calculation must start with an equal sign (=). Following is a list of the functions supported by the calculation. The comma (,) character is used to separate arguments within function brackets. The comma can also be used to separate different functions. (The separator character could be a semicolon (;) in other languages, see below).&lt;br /&gt;
&lt;br /&gt;
* average&amp;lt;nowiki&amp;gt;([[item1]], [[item2]]...)&amp;lt;/nowiki&amp;gt;: Returns the average of a sample&lt;br /&gt;
* max&amp;lt;nowiki&amp;gt;([[item1]], [[item2]]...)&amp;lt;/nowiki&amp;gt;: Returns the maximum value in a list of arguments&lt;br /&gt;
* min&amp;lt;nowiki&amp;gt;([[item1]], [[item2]]...):&amp;lt;/nowiki&amp;gt; Returns the minimum value in a list of arguments&lt;br /&gt;
* mod(dividend, divisor): Calculates the remainder of a division&lt;br /&gt;
* pi(): Returns the value of the number Pi&lt;br /&gt;
* power(base, power): Raises a number to the power of another&lt;br /&gt;
* round(number, count): Rounds a number to a predefined accuracy&lt;br /&gt;
* sum(&amp;lt;nowiki&amp;gt;[[item1]], [[item2]]...)&amp;lt;/nowiki&amp;gt;: Returns the sum of all arguments&lt;br /&gt;
* an asterisk (*) gives the product of two items: &amp;lt;nowiki&amp;gt;[[item1]]*[[item2]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A number of mathematical functions is also supported:&lt;br /&gt;
&lt;br /&gt;
* sin&lt;br /&gt;
* sinh&lt;br /&gt;
* arcsin&lt;br /&gt;
* asin&lt;br /&gt;
* arcsinh&lt;br /&gt;
* asinh&lt;br /&gt;
* cos&lt;br /&gt;
* cosh&lt;br /&gt;
* arccos&lt;br /&gt;
* acos&lt;br /&gt;
* arccosh&lt;br /&gt;
* acosh&lt;br /&gt;
* tan&lt;br /&gt;
* tanh&lt;br /&gt;
* arctan&lt;br /&gt;
* atan&lt;br /&gt;
* arctanh&lt;br /&gt;
* atanh&lt;br /&gt;
* sqrt&lt;br /&gt;
* abs&lt;br /&gt;
* ln&lt;br /&gt;
* log&lt;br /&gt;
* exp&lt;br /&gt;
&lt;br /&gt;
==Example calculations==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;=average([[Quiz.1]], [[Quiz.4]], [[Assignment.1]])&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;=average(max([[Quiz.1]], [[Quiz.4]], [[Assignment.1]]), min([[Quiz.1]], [[Quiz.4]], [[Assignment.1]]))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Weighted grade calculations where item 1 is weighted 30%, item 2 is weighted at 60% and item 3 is weighted at 200%: &amp;lt;nowiki&amp;gt;=sum([[1]]*0.3,[[2]]*0.6,[[3]]*2)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calculations when user language is not English==&lt;br /&gt;
&lt;br /&gt;
Calculation formulas use decimal and list separators as defined in each language pack.&lt;br /&gt;
&lt;br /&gt;
The decimal separator (a symbol used to mark the boundary between the integral and the fractional parts of a decimal number) is a point (.) in English. In other languages it may be a comma (,).&lt;br /&gt;
&lt;br /&gt;
The list separator (a symbol used to separate a list of ID numbers in square brackets) is a comma (,) in English. In other languages it may be a semicolon (;).&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://www.youtube.com/watch?v=WKUGyzAXcyA Video on how to set up calculations in the gradebook (basic)]&lt;br /&gt;
*[http://www.youtube.com/watch?v=VBEj8mmu8lM Video on how to set up calculations in the gradebook (advanced)]&lt;br /&gt;
&lt;br /&gt;
[[ca:grade/edit/tree/calculation]]&lt;br /&gt;
[[es:Cálculos de calificación]]&lt;br /&gt;
[[fr:Calcul de note]]&lt;br /&gt;
[[ru:Формулы и вычисления оценок]]&lt;br /&gt;
[[ja:評定計算]]&lt;br /&gt;
[[de:Bewertungen berechnen]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=File_upload_size&amp;diff=103941</id>
		<title>File upload size</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=File_upload_size&amp;diff=103941"/>
		<updated>2013-04-12T14:54:16Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}Probably the most frequently asked question in the Moodle.org Using Moodle forums is &amp;quot;How do I increase the upload file size limit?&amp;quot; The changes that need be made are the same in all versions of Moodle, just in different OS&#039; they need be made in different places. Upload file sizes are restricted in a number of ways and each one in this list restricts the following ones:&lt;br /&gt;
&lt;br /&gt;
 Server level&lt;br /&gt;
 Moodle site level&lt;br /&gt;
 Course level&lt;br /&gt;
 Activity level&lt;br /&gt;
&lt;br /&gt;
This is a contentious issue, mainly because you might think that it should be set inside the Moodle. Unfortunately, this is not so, these are environment issues that need to be set in the server and PHP folders, Moodle cannot work outside itself. &lt;br /&gt;
&lt;br /&gt;
==Physical access to Server==&lt;br /&gt;
These instructions assume you have full physical and administrative access to your server. If you are using a hosted server then you will probably need to look into other ways to increase your file upload size. &lt;br /&gt;
&lt;br /&gt;
There are positives and negatives to both methods below. If you modify the php.ini file then the changes will effect all php applications on your server. Since PHP5 you can only have one php.ini file on your server. The php.ini method will work with all web servers though. The .htaccess method will only effect the folder and all subfolders that it is placed in, but you must have certain settings enabled in Apache.&lt;br /&gt;
&lt;br /&gt;
==Restricting the File size - how it works==&lt;br /&gt;
The Host may set a limit on the maximum file upload size in the Server environment, which you may override if the Host allows you to. PHP has a setting that it uses to limit the size of the file that it handles in upload. The Host has set that figure in the php.ini based on their particular perceptions and their clientele need. This size appears in Moodle in the &#039;&#039;&#039;Administration &amp;gt; Security &amp;gt; Site Policies &amp;gt; Maximum uploaded file size&#039;&#039;&#039; drop-down combo box. You can change this at any time to suit your site need. In the Course Settings page, there is also a further restriction that can be made. At no time can the Course setting over-ride the Site setting, nor can the Site setting over-ride the php.ini setting, which cannot over-ride the Server setting. The only exception to this rule is that you can manipulate both the Server and the PHP settings, and how to do that is described below.&lt;br /&gt;
&lt;br /&gt;
==Modifying the php.ini file==&lt;br /&gt;
These instructions show you how to change the file upload size by editing your php.ini file.&lt;br /&gt;
====Ubuntu Linux Instructions====&lt;br /&gt;
&lt;br /&gt;
These instructions assume that you have installed the standard Moodle package, PHP 5 and Apache 2 via apt-get and left it all as a default install. If you have compiled yourself I presume that you will know where your php.ini files are!&lt;br /&gt;
&lt;br /&gt;
You need to edit the following three settings in your php.ini file located at: /etc/php5/apache2/&lt;br /&gt;
&lt;br /&gt;
*Type &amp;quot;sudo nano /etc/php5/apache2/php.ini&amp;quot;&lt;br /&gt;
*Press Ctrl and W and type &amp;quot;post_max_size&amp;quot; &lt;br /&gt;
*Change the value to the number of Mb you want your site to accept as uploads&lt;br /&gt;
*Press Ctrl and W and type &amp;quot;upload_max_filesize&amp;quot; &lt;br /&gt;
*Change the value to the number of Mb you want your site to accept as uploads&lt;br /&gt;
*Press Ctrl and W and type &amp;quot;max_execution_time&amp;quot; &lt;br /&gt;
*Change the value to 600&lt;br /&gt;
*Press Ctrl and O&lt;br /&gt;
*Press Ctrl and X&lt;br /&gt;
*Type sudo /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
Your new file size limit should now appear in Administration &amp;gt; Security &amp;gt; Site Policies &amp;gt; Maximum uploaded file size&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====XAMPP on Mac Instructions====&lt;br /&gt;
&lt;br /&gt;
These are instructions for how to do this for Moodle on a Mac using the [http://download.moodle.org/macosx/ XAMPP sample download package available]. (This is not for a OS X production server.)&lt;br /&gt;
&lt;br /&gt;
* Close down Apache and MySQL if they are running via the XAMPP Control app and close the XAMPP Control app &lt;br /&gt;
* Open Finder and go to Applications&lt;br /&gt;
* Navigate down and open the folder &#039;&#039;XAMPP&#039;&#039; / &#039;&#039;xamppfiles&#039;&#039; / &#039;&#039;etc&#039;&#039;&lt;br /&gt;
* Open the file &#039;&#039;php.ini&#039;&#039; with TextEdit (or another plain text editor)&lt;br /&gt;
* Search for the &#039;&#039;post_max_size&#039;&#039; setting and up this from 128M (the default) to more; 500M is the maximum&lt;br /&gt;
* Do the same for &#039;&#039;upload_max_filesize&#039;&#039; (make the numbers the same)&lt;br /&gt;
* Search for the &#039;&#039;max execution_time&#039;&#039; setting and up this to 300 (or more if you get timeouts on uploads)&lt;br /&gt;
* Save the php.ini file &lt;br /&gt;
* restart Apache and MySQL as usual&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: You may get a &amp;quot;permission denied&amp;quot; error when saving the php.ini file unless you are logged in with  admin access to your Mac. To work around this, you can set the &#039;&#039;/etc&#039;&#039; directory in which the php.ini file is located to be writable temporarily. For how to do that, see [http://answers.yahoo.com/question/index?qid=20090115235753AA4DtJ0 here] or [http://www.ehow.com/how_2314896_fix-permissions-mac-os-x.html here].&lt;br /&gt;
&lt;br /&gt;
====Windows XP and Server 2003 Instructions====&lt;br /&gt;
&lt;br /&gt;
These instructions presume that you have downloaded the latest PHP 5.3.x Windows zip package and extracted it to C:\PHP. If you have installed PHP to another location then change all references to &amp;quot;C:\PHP&amp;quot; to the location you installed PHP too.&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|[[Image:lightbulb.png]]&lt;br /&gt;
|Download and install any text editor that can save the file in a UTF-8 format, [http://www.crimsoneditor.com Crimson Editor] is one such, NotePad++ is another, use that instead of either Wordpad or Notepad! The issue is that WordPad or Notepad will include hidden characters that may not be compatible with the requirements of PHP.   &lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
*Open C:\PHP&lt;br /&gt;
*Right Click the &#039;&#039;&#039;php.ini&#039;&#039;&#039; file in this folder and choose &amp;quot;Open with...&amp;quot; selecting your editor of choice. &lt;br /&gt;
*Press Ctrl + F and type &amp;quot;post_max_size&amp;quot; (click Find...&amp;quot;, where needed) &lt;br /&gt;
*Change the value to the number of Mb you want your site to accept as uploads&lt;br /&gt;
*Press Ctrl + F and type &amp;quot;upload_max_filesize&amp;quot; (click Find...&amp;quot;, where needed)&lt;br /&gt;
*Change the value to the number of Mb you want your site to accept as uploads&lt;br /&gt;
*Press Ctrl + F and type &amp;quot;max_execution_time&amp;quot; (click Find...&amp;quot;, where needed)&lt;br /&gt;
*Change the value to 600&lt;br /&gt;
*Press Ctrl and S or the save button. &lt;br /&gt;
*Exit your editor. &lt;br /&gt;
*Restart your webserver to reload PHP with the edited changes. &lt;br /&gt;
**&#039;&#039;&#039;For IIS&#039;&#039;&#039;&lt;br /&gt;
**Open the Start Menu on your server and select &amp;quot;Run&amp;quot;&lt;br /&gt;
**Type &amp;quot;iisreset /RESTART&amp;quot;&lt;br /&gt;
**For &#039;&#039;&#039;Apache 2 and Windows XP&#039;&#039;&#039;&lt;br /&gt;
**Go to Start &amp;gt; All Programs &amp;gt; Apache &amp;gt; Restart&lt;br /&gt;
**&#039;&#039;&#039;For Apache 2 and Windows Server&#039;&#039;&#039;&lt;br /&gt;
**The following command will work as long as you have installed Apache 2 as a service on your Windows Server&lt;br /&gt;
**Open your Start Menu on your server and select &amp;quot;Run&amp;quot;&lt;br /&gt;
**Type &amp;quot;httpd -k restart&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Your new file size limit should now appear in Administration &amp;gt; Security &amp;gt; Site Policies &amp;gt; Maximum uploaded file size&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; These instructions also cover the Xampp Windows installer. Just replace C:\PHP with C:\Moodle\server\php and to restart your Moodle with a normal stop-start.&lt;br /&gt;
&lt;br /&gt;
==Modifying the apache config file==&lt;br /&gt;
====Ubuntu Linux Instructions====&lt;br /&gt;
You may also need to edit the config.php file in the moodle directory:&lt;br /&gt;
*Type &amp;quot;gksudo nautilus&amp;quot; to get root permissions&lt;br /&gt;
*Navigate to /etc/moodle&lt;br /&gt;
*Open apache.conf&lt;br /&gt;
*Go to the &amp;quot;&amp;lt;IfModule mod_php5.c&amp;gt;&amp;quot; section&lt;br /&gt;
*Change &amp;quot;php_value upload_max_filesize = 2M&amp;quot; to a higher value&lt;br /&gt;
*Change &amp;quot;php_value post_max_size = 2M&amp;quot; to a higher value&lt;br /&gt;
*Go to the &amp;quot;&amp;lt;IfModule mod_php4.c&amp;gt;&amp;quot; section&lt;br /&gt;
*Change &amp;quot;php_value upload_max_filesize = 2M&amp;quot; to a higher value&lt;br /&gt;
*Change &amp;quot;php_value post_max_size = 2M&amp;quot; to a higher value&lt;br /&gt;
*Save file&lt;br /&gt;
*Type sudo /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
===Modifying the .htaccess file===&lt;br /&gt;
&lt;br /&gt;
The following instructions will only work on an Apache web server, and also the Apache server must have Overrides allowed. Traditionally, you could only use .htaccess files when PHP was run as a module of Apache, but with Apache 2.2, this appears to no longer be the case. You can now use the .htaccess file in either module or cgi forms. As well, allowing the use of .htaccess files will cause a performance hit on the server, not a desirable outcome either - so check with your Host. &lt;br /&gt;
&lt;br /&gt;
The .htaccess file is a distributed configuration file, that is, it can be used on a per-folder basis to configure each user&#039;s folder and sub-folders. You cannot alter the &amp;quot;AllowOverrides&amp;quot; directive in the Apache configuration file with a .htaccess file, only the Host can set that manually. Usually the Host will place a .htaccess file into your site Root if they do allow you to override the server settings. You can edit it the same as below, and the overrides you set will work. Alternatively, you may create your own .htaccess file in your text editor. It may also be called something else, like .config. If you have any file that starts with a ., you might want to open it in your text editor, just out of curiosity. &lt;br /&gt;
&lt;br /&gt;
Create a file called .htaccess in Moodle&#039;s main directory (where &#039;index.php&#039; is located, not the &#039;moodledata&#039; directory) that contains the following information:&lt;br /&gt;
&lt;br /&gt;
 php_value upload_max_filesize 20971520&lt;br /&gt;
 php_value post_max_size 20971520&lt;br /&gt;
 php_value max_execution_time 600&lt;br /&gt;
&lt;br /&gt;
20971520 is the integer value for 20Mb. You can use the following site to [http://www.onlineconversion.com/computer_base2.htm convert MegaBytes to Bytes].&lt;br /&gt;
&lt;br /&gt;
For a more complete description of how to edit the .htacess file, look at this page, [http://httpd.apache.org/docs/current/howto/htaccess.html Apache Tutorial: .htaccess files]&lt;br /&gt;
&lt;br /&gt;
===Modifying the IIS 7.0/7.5 configuration (Windows Server 2008, Windows Server 2008 R2)===&lt;br /&gt;
First increase activity and request time outs (allows large files to succeed on slow connections)&lt;br /&gt;
 FastCGI Settings &amp;gt; Edit (Right-click on PHP application)&lt;br /&gt;
 Set Process Model &amp;gt; Activity Timeout to &#039;3600&#039; (one hour)&lt;br /&gt;
 Set Process Model &amp;gt; Request Timeout to &#039;3600&#039; (one hour)&lt;br /&gt;
Next set &#039;Maximum allowed content length&#039;&lt;br /&gt;
 Request Filtering &amp;gt; Edit Feature Settings:&lt;br /&gt;
 Set &#039;Maximum allowed content length&#039; to your desired file size (in bytes) e.g. &#039;536870912&#039; for 512MB (default is approximately 28.6MB)&lt;br /&gt;
&lt;br /&gt;
==Hosted Server==&lt;br /&gt;
Things can be a little different with a hosted server for uploaded and downloaded file size.  You are probably going to  to be told to create or change a .htaccess file, or to modify a php.ini file.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|[[Image:lightbulb.png]]&lt;br /&gt;
|It might be a good idea to talk to with your service provider before you attempt anything.  They probably have instructions on &amp;quot;how to&amp;quot; and may have their own limits for uploaded file size. Some hosts measure the file size in gigabytes and others in megabytes.  If you are unhappy with their limits, then check your contract and consider changing your provider to one that has a limit and price that you like.&lt;br /&gt;
|}   &lt;br /&gt;
&lt;br /&gt;
===.htaccess with hosted server===&lt;br /&gt;
The one purpose of an .htaccess file is to override the the current limitations of both the server and the php.ini file.  Your hosted server should inform you where that file needs be placed in your Moodle, but generally in the root is sufficient. They may already have a standard file you can use, if so, use it - but perhaps not.  &lt;br /&gt;
&lt;br /&gt;
To the .htaccess file add the lines:&lt;br /&gt;
  php_value upload_max_filesize 128M&lt;br /&gt;
  php_value post_max_size 128M&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
This will limit uploads to 128MB, but you can make it any size you agree with your provider. The wording may vary slightly, according to the demands of the server.&lt;br /&gt;
&lt;br /&gt;
===php.ini with hosted server===&lt;br /&gt;
Some servers will not allow you to change the moodle root .htaccess file and tell you to use a php.ini file for php directives.  Here you can use the instruction located in the section above called [[File_upload_size#Modifying_the_php.ini_file|Modifying the php.ini file]].&lt;br /&gt;
&lt;br /&gt;
Find the php.ini file in your moodle subfolder on your hosted server. You might want to copy the file as a backup just in case.  Edit php.ini, find &amp;quot;upload_max_filesize&amp;quot; and post_max_size in the code.  After the = change the number.  Here the max filesize is 20 megabytes.  &lt;br /&gt;
&lt;br /&gt;
 upload_max_filesize = 20M&lt;br /&gt;
 post_max_size = 20M&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|[[Image:lightbulb.png]]&lt;br /&gt;
|Still not changed? Some hosts using cpanel have a php config program under services/software. Use the &amp;quot;Single php.ini&amp;quot; option and make sure you note the location of the php.ini file to modify. This changes the .htaccess file in the same area and thus the server limit for all programs using php.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Administration_FAQ#How_do_the_limits_on_uploaded_files_work.3F|Administration FAQ Doc page]]&lt;br /&gt;
*[[Site_policies#Maximum_uploaded_file_size|Site Policies Doc page]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=39625 Detailed instructions to increase the maximum allowed size for uploaded files] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=97907 Instructions to increase maximum allowed size on hosted servers] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=124441 Help on changing the maximum upload size when installing Moodle via apt-get] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ|File]]&lt;br /&gt;
&lt;br /&gt;
[[es:Tamaño de archivo subido]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Site_policies&amp;diff=103940</id>
		<title>Site policies</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Site_policies&amp;diff=103940"/>
		<updated>2013-04-12T14:52:08Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: Added &amp;#039;See File upload size for more details&amp;#039; to the &amp;#039;Maximum uploaded file size&amp;#039; section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Security}}&lt;br /&gt;
A site administrator can set site policies affecting the security and privacy of the site in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Security &amp;gt; Site policies&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Protect usernames===&lt;br /&gt;
With this enabled, when people click on the  &amp;quot;Forgotten your username or  password?&amp;quot; link, no hints will be given that might allow people to guess usernames or email addresses.&lt;br /&gt;
&lt;br /&gt;
===Force users to login===&lt;br /&gt;
&lt;br /&gt;
If you turn this setting on, all users must login before they even see the [[Front Page]] of the site.&lt;br /&gt;
&lt;br /&gt;
===Force users to login for profiles===&lt;br /&gt;
&lt;br /&gt;
Leave this set to Yes to keep anonymous visitors away from user profiles. &lt;br /&gt;
&lt;br /&gt;
===Force users to login to view user pictures===&lt;br /&gt;
&lt;br /&gt;
If enabled, users must login in order to view user profile pictures and the default user picture will be used in all notification emails.&lt;br /&gt;
&lt;br /&gt;
===Open to Google===&lt;br /&gt;
&lt;br /&gt;
Enabling this setting allows Google&#039;s search spiders guest access to your site. Any part of the site that allows guest access will then be searchable on Google. In addition, people coming in to your site via a Google search will automatically be logged in as a guest.&lt;br /&gt;
&lt;br /&gt;
===Profile visible roles===&lt;br /&gt;
Any role which is checked/ticked here will be visible on  user profiles and the Participation screen.&lt;br /&gt;
&lt;br /&gt;
===Maximum uploaded file size===&lt;br /&gt;
&lt;br /&gt;
Probably the most frequently asked question in the Moodle.org Using Moodle forums is &amp;quot;How do I increase the upload file size limit?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Upload file sizes are restricted in a number of ways - each one in this list restricts the following ones:&lt;br /&gt;
&lt;br /&gt;
1. The Apache server setting LimitRequestBody ... default in Apache 2.x or greater is set to 0 or an unlimited upload size&lt;br /&gt;
&lt;br /&gt;
2. The PHP site settings post_max_size and upload_max_filesize in php.ini : &#039;&#039;&#039;modify php.ini in web server directories&#039;&#039;&#039; ( apache2.x.x/bin/php.ini ) not in php directories :&lt;br /&gt;
 &lt;br /&gt;
 post_max_size = 128M;  to increase limit to 128 Megabytes;&lt;br /&gt;
 upload_max_filesize = 128M;  to increase limit to 128 Megabytes;&lt;br /&gt;
 max_execution_time = 600 ; Maximum execution time of each script, in seconds;&lt;br /&gt;
&lt;br /&gt;
3. The Moodle site-wide maximum uploaded file size setting: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Security &amp;gt; Site policies &amp;gt; Maximum uploaded file size&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
4. The Moodle course maximum uploaded file size setting in the course default  settings: &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Courses &amp;gt; Course default settings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
5. The  file size settings in each individual course in &#039;&#039;Course Administration&amp;gt;Settings&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
5. Certain course activity module settings (for example, Assignment)&lt;br /&gt;
&lt;br /&gt;
* See [[File upload size]] for more details.&lt;br /&gt;
&lt;br /&gt;
===User quota===&lt;br /&gt;
&lt;br /&gt;
The maximum number of bytes that a user can store in their own [[Private files]] area.&lt;br /&gt;
&lt;br /&gt;
===Allow EMBED and OBJECT tags===&lt;br /&gt;
Allowing these presents a security risk but if you wish normal users such as students to be able to use them then check the box here.&lt;br /&gt;
&lt;br /&gt;
===Enable trusted content===&lt;br /&gt;
&lt;br /&gt;
By default Moodle will always thoroughly clean text that comes from users to remove any possible bad scripts, media etc that could be a security risk. The Trusted Content system is a way of giving particular users that you trust the ability to include these advanced features in their content without interference. To enable this system, you need to first enable this setting, and then grant the [[Capabilities/moodle/site:trustcontent|Trust submitted content]] capability to a specific Moodle role. Texts created or uploaded by such users will be marked as trusted and will not be cleaned before display. Please refer to [[dev:Trusttext cleaning bypass]] for further information.&lt;br /&gt;
&lt;br /&gt;
===Maximum time to edit posts===&lt;br /&gt;
&lt;br /&gt;
This sets the editing time for forum postings. The editing time is the amount of time users have to change forum postings before they are mailed to subscribers.&lt;br /&gt;
&lt;br /&gt;
Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying &amp;quot;no editing after 30 minutes&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
===Full name format===&lt;br /&gt;
&lt;br /&gt;
If set to &#039;First name&#039; only users with the [[Capabilities/moodle/site:viewfullnames|view full names capability]] (by default managers, teachers and non-editing teachers) can view users&#039; full names.&lt;br /&gt;
&lt;br /&gt;
===Allow extended characters in usernames===&lt;br /&gt;
&lt;br /&gt;
The default here, unchecked = unenabled, can only contain alphabetical letters in lowercase, numbers, hypen &#039;-&#039;, underscore &#039;_&#039;, period &#039;.&#039;, or at sign &#039;@&#039;. If you enable this, it will be possible to have any characters for the username.&lt;br /&gt;
&lt;br /&gt;
===Site policy URL===&lt;br /&gt;
&lt;br /&gt;
*If you have a site policy that all users must see and agree to before using this site, then specify the URL to it here, otherwise leave this field blank. The URL can point to any type of file anywhere online that can be accessed without a log in to your Moodle.&lt;br /&gt;
 &lt;br /&gt;
*It is recommended that the site policy is on the same domain as Moodle to avoid the problem of Internet Explorer users seeing a blank screen when the site policy is on a different domain.&lt;br /&gt;
&lt;br /&gt;
===Site policy URL for guests===&lt;br /&gt;
This is similar to the Site policy URL as above but will be seen by those to whom you give guest access.&lt;br /&gt;
&lt;br /&gt;
===Keep tag name casing===&lt;br /&gt;
&lt;br /&gt;
If checked, then tags like the following will be displayed: SOCCER, gUiTaR, MacDonalds, music&lt;br /&gt;
&lt;br /&gt;
If unchecked, then all tags will be displayed as follows: Soccer, Guitar, Macdonalds, Music&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tips&#039;&#039;:&lt;br /&gt;
:* For English, off is useful.&lt;br /&gt;
:* For Japanese, no changes are made either way.&lt;br /&gt;
:* For languages where this kind of capitalization changes the meaning, it is best to keep this option on.&lt;br /&gt;
&lt;br /&gt;
===Profiles for enrolled users only===&lt;br /&gt;
&lt;br /&gt;
To prevent misuse by spammers, profile descriptions of users who are not yet enrolled in any course are hidden. New users must enrol in at least one course before they can add a profile description.&lt;br /&gt;
&lt;br /&gt;
===Cron execution via command line only===&lt;br /&gt;
&lt;br /&gt;
[[Cron]] is an action that runs various administrative jobs on your Moodle such as sending out forum posts. Normally Cron can be run by typing www.YOURMOODLE.com/admin/cron.php but as anyone logged in can do this, if you wish to prevent it, then check this box and only a admin can run Cron from the command line.&lt;br /&gt;
&lt;br /&gt;
===Cron password for remote access===&lt;br /&gt;
Setting a password here will mean that users can only run cron from the browser if they know the password and add it like this:&lt;br /&gt;
www.YOURMOODLE.com/admin/cron.php/?password=THEPASSWORDYOUSET&lt;br /&gt;
&lt;br /&gt;
===Password policy===&lt;br /&gt;
&lt;br /&gt;
It is highly recommended that a password policy is set to force users to use stronger passwords that are less susceptible to being cracked by a intruder.&lt;br /&gt;
[[Image:Password policy.png|thumb|Password policy]]&lt;br /&gt;
&lt;br /&gt;
The password policy includes option to set the minimum length of the password, the minimum number of digits, the minimum number of lowercase characters, the minimum number of uppercase characters and the minimum number of non alphanumeric characters.&lt;br /&gt;
&lt;br /&gt;
The password policy is enabled by default. Default settings are:&lt;br /&gt;
* Password length - 8&lt;br /&gt;
* Digits - 1&lt;br /&gt;
* Lowercase letters - 1&lt;br /&gt;
* Uppercase letters - 1&lt;br /&gt;
* Non-alphanumeric characters - 1&lt;br /&gt;
&lt;br /&gt;
If a user enters a password that does not meet the requirements, they are given an error message indicating the nature of the problem with the entered password.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip&#039;&#039;: To reduce the chance of md5 lookup attack, passwords should have at least 8 characters and contain at least one number, at least one lowercase letter, at least one uppercase letter and at least one non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
Enabling the password policy does not affect existing users until they decide to or are required to change their password. An admin can force all users to change their password using the force password change option in [[Bulk user actions]].&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip&#039;&#039;: The password policy may also be applied to [[Enrolment key|enrolment keys]] by ticking the &#039;Use password policy&#039; checkbox in the [[Self enrolment]] settings.&lt;br /&gt;
&lt;br /&gt;
===Group enrolment key policy===&lt;br /&gt;
If this is enabled then when a teacher sets a group enrolment key, they will have to set a key which follows the password policy set above. &lt;br /&gt;
&lt;br /&gt;
===Disable user profile images===&lt;br /&gt;
&lt;br /&gt;
Check/tick this box if you don&#039;t want your users to be able to change their [[User pictures|profile images]]. &lt;br /&gt;
&lt;br /&gt;
===Email change confirmation===&lt;br /&gt;
&lt;br /&gt;
A confirmation step is required for users to change their email address unless the &#039;&#039;emailchangeconfirmation&#039;&#039; box is unchecked.&lt;br /&gt;
&lt;br /&gt;
===Remember username===&lt;br /&gt;
If you want  usernames to be stored during login then set this to &amp;quot;yes&amp;quot;. This will store permanent cookies and in some countries may be considered a privacy issue if used without consent. From a UK point of view, see http://tracker.moodle.org/secure/attachment/24290/UK+Laws+Relating+to+Cookies-LUNS2011.pdf See also the Using Moodle forum discussion [http://moodle.org/mod/forum/discuss.php?d=201558 EU Cookie Law].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:Políticas del sitio]]&lt;br /&gt;
[[eu:Gunearen_politikak]]&lt;br /&gt;
[[fr:Règles site]]&lt;br /&gt;
[[ja:サイトポリシー]]&lt;br /&gt;
[[de:Website-Rechte]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Course_backup&amp;diff=103937</id>
		<title>Course backup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Course_backup&amp;diff=103937"/>
		<updated>2013-04-11T15:20:26Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Backup}}&lt;br /&gt;
A course can be saved with some or all of its parts by using the course backup.  Typically, the site administrator will set a schedule of [[Automated course backup|automated course backups]] for the whole site.  A teacher with editing privileges can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.  &lt;br /&gt;
&lt;br /&gt;
==Backing up a course==&lt;br /&gt;
&lt;br /&gt;
[[Image:Backup of a course section.png|thumb|Schema selection, no user data selected in initial settings]]To backup a course&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Settings &amp;gt; Course administration &amp;gt; Backup&#039;&#039;&lt;br /&gt;
# Initial settings - Select activities, blocks, filters and other items as required then click the Next button. Users with appropriate permissions, such as administrators and managers, can choose whether to [[Backup of user data|include users]], anonymize user information, or include user role assignments, user files, comments, user completion details, course logs and grade history in the backup.&lt;br /&gt;
# Schema settings  - Select/deselect specific items to include in backup then click the Next button&lt;br /&gt;
# Confirmation and review - Check that everything is as required, using the Previous button if necessary, otherwise click the &#039;Perform backup&#039; button&lt;br /&gt;
# Complete - Click the Continue button&lt;br /&gt;
&lt;br /&gt;
A backup file (with distinctive .mbz extension to avoid confusion with .zip files) is then saved in the course backup area.&lt;br /&gt;
&lt;br /&gt;
Backup in Moodle 2.0 video:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=mya-u0zAZZE&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Anonymizing user information==&lt;br /&gt;
&lt;br /&gt;
Anonymize user information is a backup feature which &amp;quot;protects user identities&amp;quot; by making each user anonymous. If this box is checked in the backup initial settings, Moodle will substitute aliases for real names, substituting @example.com e-mail addresses and so forth. For example  &amp;quot;Max Manager&amp;quot; might become  &amp;quot;anonfirstname4 anonlastname4&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Backup and restore from 1.9 to 2==&lt;br /&gt;
&lt;br /&gt;
Courses created in 1.9 can be backed up and then restored into a 2.1 Moodle or later but blocks are not currently restored and nor is user data (such as forum posts, grades, submissions etc)&lt;br /&gt;
&lt;br /&gt;
==Tips and tricks==&lt;br /&gt;
* Lose content after a restore in Moodle 2.0 ?  Do you see topic headings that say &amp;quot;Orphaned activities&amp;quot;?   Solution: Go to course settings and increase the number of topic sections and things will return to normal.&lt;br /&gt;
&lt;br /&gt;
==Creative uses==&lt;br /&gt;
The backup and restore processes can offer the teacher and administrators many creative solutions.&lt;br /&gt;
*Duplicating courses or specific activities in one course to another course (similar to Import)&lt;br /&gt;
*Updating a production Moodle site course, with material from a localhost site course&lt;br /&gt;
*Transferring a course to a new Moodle site.&lt;br /&gt;
*In earlier versions of Moodle, a way of rolling a course forward without past student activity&lt;br /&gt;
*Creating a blank activity, save just that activity and then restore it to the course or another course one or more times. &lt;br /&gt;
&lt;br /&gt;
==General backup defaults==&lt;br /&gt;
&lt;br /&gt;
Default settings for course backups can be set by a site administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Courses &amp;gt; Backups &amp;gt; General backup defaults&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Selected settings may be locked, so that they cannot be changed when creating a course backup.&lt;br /&gt;
&lt;br /&gt;
By selecting a time in the &amp;quot;Keep logs for..&amp;quot;  dropdown, it is possible to specify how long backup  logs information is kept before being deleted. As this information may be very large, it is recommended the length of time chosen be quite short.&lt;br /&gt;
&lt;br /&gt;
==Course backup capabilities==&lt;br /&gt;
&lt;br /&gt;
*[[Capabilities/moodle/backup:anonymise|Anonymise user data on backup]]&lt;br /&gt;
*[[Capabilities/moodle/backup:backupcourse|Backup courses]]&lt;br /&gt;
*[[Capabilities/moodle/backup:backupsection|Backup sections]]&lt;br /&gt;
*[[Capabilities/moodle/backup:backuptargethub|Backup for hub]]&lt;br /&gt;
*[[Capabilities/moodle/backup:backuptargetimport|Backup for import]]&lt;br /&gt;
*[[Capabilities/moodle/backup:configure|Configure backup options]]&lt;br /&gt;
*[[Capabilities/moodle/backup:downloadfile|Download files from backup areas]]&lt;br /&gt;
*[[Capabilities/moodle/backup:userinfo|Backup user data]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Course restore]]&lt;br /&gt;
*[[Backup of user data]]&lt;br /&gt;
*[[Activity backup]]&lt;br /&gt;
&lt;br /&gt;
[[de:Kurssicherung]]&lt;br /&gt;
[[es:Respaldo del curso]]&lt;br /&gt;
[[eu:Ikastaroaren_Segurtasun-kopia]]&lt;br /&gt;
[[fr:Sauvegarde de cours]]&lt;br /&gt;
[[ja:コースバックアップ]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Scales&amp;diff=103911</id>
		<title>Scales</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Scales&amp;diff=103911"/>
		<updated>2013-04-09T01:19:22Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Grades}}&lt;br /&gt;
[[Image:Scales_Icon.GIF]]Scales are a way of evaluating or rating a students&#039; performance. Moodle offers a standard set of numeric scales. It is also possible to create custom scales which can be available on the site. For example, you can give the student a word or small phrase as a way of rating or giving a student feedback. &lt;br /&gt;
&lt;br /&gt;
Scales may be used in [[Forums]], [[Glossaries]] and [[Assignments]] for rating and/or [[Grades|grading]] a student&#039;s activity. &lt;br /&gt;
&lt;br /&gt;
==Standard scales==&lt;br /&gt;
Moodle includes 100 different numeric scales which can not be edited, and one non-numeric example.&lt;br /&gt;
&lt;br /&gt;
===Numeric===&lt;br /&gt;
Moodle includes numeric scales that range from a maximum of 100 to a minimum of 1.  For example, selecting a scale of 10, will allow a rating on a scale between 10 and 1. Numeric scales can be calculated as a [[Grades|grade]].&lt;br /&gt;
&lt;br /&gt;
==Creating a new scale==&lt;br /&gt;
New scales can be created by teachers with editing rights or by administrators or by any user with the [[Capabilities/moodle/course:managescales|manage scales role capability]].&lt;br /&gt;
&lt;br /&gt;
===Creating course scales===&lt;br /&gt;
&lt;br /&gt;
#Click the &amp;quot;Add a new scale&amp;quot; button in &#039;&#039;Settings &amp;gt; Grade administration &amp;gt; Scales&#039;&#039; or via the gradebook Scales tab. &lt;br /&gt;
#On the next page give your scale a name in the Name box (highlighted in red in the screenshot) that will identify it among other scales.[[Image:moodle19 scales edit.jpg|center|thumb|Creating a new scale screen: Name, Scale, Description areas]]&lt;br /&gt;
#In the Scale box (highlighted in green), create your scale. Each item in the scale should be separated by a comma. You can use as many options here as you require. You must order the comma  separated elements in increasing order of value. &#039;&#039;&#039;For example, an A,B,C,D scale must be entered as D,C,B,A&#039;&#039;&#039;.&lt;br /&gt;
#Write a detailed description in the Description box (highlighted in blue) for your scale. Your students will have access to the description, and you can use this to give them additional feedback. The more details you put in the description, the more students will understand what each scale item means.&lt;br /&gt;
&lt;br /&gt;
===Creating a standard scale===&lt;br /&gt;
&lt;br /&gt;
An administrator can create a standard scale which can be used in any course in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Grades &amp;gt; Scales&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Using a scale==&lt;br /&gt;
First the teacher needs to assign a specific scale to the activity using a drop down menu in the activities setting. Then the teacher and/or students can rate an activity element (for example, a post in a forum) with the pre-defined scale.&lt;br /&gt;
&lt;br /&gt;
==Editing a scale==&lt;br /&gt;
If a scale has not yet been used, you will see an edit, move, and delete icon in the edit column.[[Image:moodle19 scales edit buttons.jpg|Editing a scale]]&lt;br /&gt;
&lt;br /&gt;
Once a scale is used for an activity, it is no longer possible to move or delete it, and you can only edit the scale name and description.&lt;br /&gt;
&lt;br /&gt;
==Example scales==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;The Cool Scale&#039;&#039; - Not cool, Not very cool, Fairly cool, Cool, Very cool, The coolest thing ever!&lt;br /&gt;
**(Valued as 0/5pts, 1/5pt, 2/5pts, 3/5pts, 4/5pts, and 5/5pts respectively in &#039;&#039;&#039;any normalized aggregation method&#039;&#039;&#039;)&lt;br /&gt;
**(Valued as 1, 2, 3, 4, 5, and 6 respectively in the &#039;&#039;&#039;sum aggregation method&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;General Introductions (The Affirmative Scale)&#039;&#039; - Welcome!, Glad to have you here!, Great post!&lt;br /&gt;
**(Valued as 0/2pts, 1/2pt, and 2/2pts respectively in any &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method)&lt;br /&gt;
**(Valued as 1, 2, and 3 respectively in the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method)&lt;br /&gt;
&lt;br /&gt;
*If you would like two options in your scale (incomplete and complete) type &amp;quot;incomplete, complete&amp;quot; in the scale box.&lt;br /&gt;
**(Valued as 0/1pts and 1/1pt respectively in any &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method like weighted mean, mean, simple weighted mean, etc.)&lt;br /&gt;
**(Valued as 1 and 2 respectively in the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;Generic Social Forum&#039;&#039; (This scale only worked prior to the averaging function) -  Please clarify., I don’t understand., Hmmm.  Tell me more., Interesting, Very cool., Awesome!&lt;br /&gt;
**(Valued as 0/6pts, 1/6pt, 2/6pts, 3/6pts, 4/6pts, 5/6pts, and 6/6pts respectively in any &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method)&lt;br /&gt;
**(Valued as 1, 2, 3, 4, 5, 6, and 7 respectively in the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method)&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Refer&amp;quot;, pass, merit, distinction&lt;br /&gt;
**(Valued as 0/2pts, 1/2pt, and 2/2pts respectively in any &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method)&lt;br /&gt;
**(Valued as 1, 2, and 3 respectively in the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method)&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Hesitant&amp;quot; Fail, Acceptable, Average, Excellent&lt;br /&gt;
**(Valued as 0/3pts, 1/3pt, 2/3pts, and 3/3pts respectively in any &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method)&lt;br /&gt;
**(Valued as 1, 2, 3, and 4 respectively in the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method)&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Stars&amp;quot; &amp;amp;#9734;----, &amp;amp;#9734;&amp;amp;#9734;---, &amp;amp;#9734;&amp;amp;#9734;&amp;amp;#9734;--, &amp;amp;#9734;&amp;amp;#9734;&amp;amp;#9734;&amp;amp;#9734;-, &amp;amp;#9734;&amp;amp;#9734;&amp;amp;#9734;&amp;amp;#9734;&amp;amp;#9734;&lt;br /&gt;
**(Valued as 0/4pts, 1/4pt, 2/4pts, 3/4pts, and 4/4pts respectively in any &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method)&lt;br /&gt;
**(Valued as 1, 2, 3, 4, and 5 respectively in the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Values calculated as percentage scores==&lt;br /&gt;
Moodle uses the last entry to determine the number of points in the scale for computing percentages. For example, if your scale is 0,5,6,7,8,9,10 then Moodle will use a 0-6 or 1-7 point scale depending on your chosen aggregation method.&lt;br /&gt;
*When using a &#039;&#039;&#039;normalized&#039;&#039;&#039; aggregation method, 0 will become 0/6, 5 will become 1/6, 6 will become 2/6, 7 will become 3/6, 8 will become 4/6, 9 will become 5/6, and 10 will become 6/6 for grade computation, respectively.&lt;br /&gt;
*When using the &#039;&#039;&#039;sum&#039;&#039;&#039; aggregation method, 0 will become 1, 5 will become 2, 6 will become 3, 7 will become 4, 8 will become 5, 9 will become 6, and 10 will become 7.&lt;br /&gt;
&lt;br /&gt;
Either way, the numbers you enter for your scale are &#039;&#039;&#039;NOT&#039;&#039;&#039; calculated as entered, the system calculates the number of non-zero entries and then creates a scale from 0 to the total number of entries (n) with their values calculates as 0/n, 1/n, 2/n, 3/n....&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If your scale is a custom non-value (not a number), Moodle&#039;s behavior in combining or averaging the scores into a percentage value is unpredictable. When an average or aggregate is important, then it is a good idea to stick with the standard 100% scale  to compute an overall grade.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; Some sites do not like the &amp;quot;0&amp;quot; (zero) in any normalized aggregation method.&lt;br /&gt;
&lt;br /&gt;
==Scales capabilities==&lt;br /&gt;
&lt;br /&gt;
*[[Capabilities/moodle/course:viewscales|View scales]]&lt;br /&gt;
*[[Capabilities/moodle/course:managescales|Manage scales]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[Outcomes]]&lt;br /&gt;
*[[Ratings]]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=106031 gradebook letter grade an item]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=142262 Creating a new scale]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=152689 Standard letter scale reversed] for information on how to delete a scale&lt;br /&gt;
&lt;br /&gt;
[[de:Bewertungsskalen]]&lt;br /&gt;
[[es:Escalas]]&lt;br /&gt;
[[fr:Barèmes]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=M%C3%B2dul_Glossari&amp;diff=103910</id>
		<title>Mòdul Glossari</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=M%C3%B2dul_Glossari&amp;diff=103910"/>
		<updated>2013-04-09T00:20:48Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Activities}}&lt;br /&gt;
The glossary activity module allows participants to create and maintain a list of definitions, like a dictionary. &lt;br /&gt;
&lt;br /&gt;
Glossary can be used in many ways.  The entries can be searched or browsed in different formats. A glossary can be a collaborative activity or be restricted to entries made by the teacher. Entries can be put in categories. The auto-linking feature will highlight any word in the course which is located in the glossary.  &lt;br /&gt;
&lt;br /&gt;
* [[Glossary settings]]&lt;br /&gt;
* [[Using Glossary]]&lt;br /&gt;
* [[Glossary FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Glossaryexample.png|thumb|center|Glossary example]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;br /&gt;
&lt;br /&gt;
[[de:Glossar]]&lt;br /&gt;
[[es:Módulo glosario]]&lt;br /&gt;
[[eu:Glosategiak]]&lt;br /&gt;
[[fr:Glossaire]]&lt;br /&gt;
[[ja:用語集モジュール]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=M%C3%B2dul_F%C3%B2rum&amp;diff=103909</id>
		<title>Mòdul Fòrum</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=M%C3%B2dul_F%C3%B2rum&amp;diff=103909"/>
		<updated>2013-04-09T00:10:39Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Activities}}&lt;br /&gt;
The forum module is an activity where students and teachers can exchange ideas by posting comments. There are four basic forum types. Forum posts can be graded by the teacher or other students. &lt;br /&gt;
&lt;br /&gt;
[[Image:Forumexample.png]]&lt;br /&gt;
&lt;br /&gt;
A forum  can contribute significantly to successful communication and community building in an online environment. You can use forums for many innovative purposes in educational settings, but teaching forums and student forums are arguably the two more significant distinctions. &lt;br /&gt;
&lt;br /&gt;
* [[Forum settings]]&lt;br /&gt;
* [[Using Forum]]&lt;br /&gt;
* [[Forum FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Forum]]&lt;br /&gt;
&lt;br /&gt;
[[de:Forum]]&lt;br /&gt;
[[es:Módulo foro]]&lt;br /&gt;
[[eu:Foroak]]&lt;br /&gt;
[[fr:Forum]]&lt;br /&gt;
[[it:Modulo forum]]&lt;br /&gt;
[[ja:フォーラムモジュール]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Working_with_files&amp;diff=103908</id>
		<title>Working with files</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Working_with_files&amp;diff=103908"/>
		<updated>2013-04-08T23:23:18Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing content}}&lt;br /&gt;
*Moodle provides an easy way for a teacher to present materials to their students. These materials may take the form of files such as word-processed documents or slideshow presentations. The materials can be displayed on the page either as individual items or bundled together inside folders. One teacher might for instance wish to share a single research document in pdf format; another might have a folder of sample past examination papers for students to download.&lt;br /&gt;
*Most types of files can be uploaded and accessed through Moodle but the student needs to have the correct software to be able to open them.&lt;br /&gt;
&lt;br /&gt;
==Adding files==&lt;br /&gt;
*To add files or folders, a teacher needs to have the editing turned on in their course and then select either [[File]] or [[Folder]] from the activity chooser (or &amp;quot;Add a resource&amp;quot; drop down menu).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:filefolder23.png|thumb|Selecting a file or folder in the activity chooser]]&lt;br /&gt;
| [[File:Workingwithfiles.png|thumb|The &amp;quot;Add a resource&amp;quot; drop down menu]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*The screen for uploading and displaying a file (or folder of files) includes an &amp;quot;add&amp;quot; button. Clicking on this button takes you to the [[File picker]] which is the name given to the file storage and access area within Moodle. Find out more about the places you can upload or add files from in the [[File picker]] page.&lt;br /&gt;
*There is also a block (with an arrow) into which you can drag and drop a file straight from your desktop into Moodle.(Note that this  currently doesn&#039;t work with Internet Explorer.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:newdraganddrop.png|thumb|Area for dragging and dropping files into]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Viewing uploaded files==&lt;br /&gt;
&lt;br /&gt;
* Once uploaded, files appear as thumbnails in the file manager for easy recognition.&lt;br /&gt;
* Files view can be easily toggled between icons view or a table view with sizes and dates, or a hierarchical list view. &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:truthumbnailsiconsview.png|thumb|File picker icon view]]&lt;br /&gt;
| [[File:tableview.png|thumb|File picker table view]]&lt;br /&gt;
| [[File:hierarchicallistview.png|thumb|File picker hierarchical list view]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Editing or updating uploaded files==&lt;br /&gt;
&lt;br /&gt;
*Clicking on the  name of an uploaded file opens up a pop up dialogue box which allows file details quickly to be altered.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:popupdialogue.png|thumb|File info popup dialogue]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Creating an alias/shortcut==&lt;br /&gt;
&lt;br /&gt;
*When an uploaded file (or a file from the Box.net, file system or EQUELLA repositories) is re-used elsewhere on Moodle, the teacher has the option to make a copy (a new, unconnected version) or to create a shortcut or &#039;&#039;alias&#039;&#039;.&lt;br /&gt;
*If an alias is created, then when the original file is updated, it will change in all instances of the alias. So a teacher might add course notes to their private files for example, and then add them into a number of courses. When the teacher makes an alteration in the file in their private files, this alteration will be reflected in all instances of the course notes.&lt;br /&gt;
*An alias can be recognised by its thumbnail. See the difference in the screenshot below between the original file (left) and the alias (right):&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:alias.png|thumb|Creating an alias]]&lt;br /&gt;
| [[File:shortcut1.png|frame]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Areas in which aliases cannot be made===&lt;br /&gt;
&lt;br /&gt;
An alias cannot be made in the following areas of Moodle:&lt;br /&gt;
&lt;br /&gt;
* an assignment submission&lt;br /&gt;
* a forum post attachment&lt;br /&gt;
* a workshop submission&lt;br /&gt;
* a quiz essay&lt;br /&gt;
* a database activity file field&lt;br /&gt;
&lt;br /&gt;
This is to prevent cases such as a student uploading an item for assessment and then subsequently changing the original in their private files. When a student uses a file from their private files in one of these instances, they do not see the options to &amp;quot;copy&amp;quot; or &amp;quot;create an alias&amp;quot;. Below is an example of a file added to an assignment:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:aliasassignment.png|thumb|Assignment submission with no option to create an alias]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*How to share a single file with students: [[File]]&lt;br /&gt;
*How to share a folder of files with students: [[Folder]]&lt;br /&gt;
*Questions about the file picker: [[File picker FAQ]]&lt;br /&gt;
* [[Restoring file aliases]]&lt;br /&gt;
*[http://www.youtube.com/watch?v=IrOKxYRJvGU How teachers upload files in Moodle 2 video]&lt;br /&gt;
&lt;br /&gt;
[[de:Arbeiten mit Dateien und Verzeichnissen]]&lt;br /&gt;
[[es:Trabajando con archivos]]&lt;br /&gt;
[[fr:Utilisation de fichiers]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Front_page&amp;diff=103906</id>
		<title>Front page</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Front_page&amp;diff=103906"/>
		<updated>2013-04-08T18:58:10Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Site appearance}}&lt;br /&gt;
The front page is the initial page seen by someone reaching a Moodle site after or before a login.  Typically a student will see [[Courses|courses]], some [[Blocks|blocks]] of information, displayed in a [[Themes|theme]].  In the [[Navigation bar]] and [[Navigation block]] it is called &amp;quot;Home&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
A combination of [[Site policies|site policies]], [[Authentication|user authentication]] and [[Front page settings | front page settings]] determine who can get to the front page. And once they get there [[Front Page settings|what they can see]] and [[Roles|what they can do]].  &lt;br /&gt;
&lt;br /&gt;
In many ways, a Front Page has similar features and functions to those in a [[Course]]. For example, [[Activities]], [[Resources]] and [[Blocks]] can be added to the Front Page to give it different looks.&lt;br /&gt;
&lt;br /&gt;
[[Image:demositestudentview.png|center|thumb|600px| View of a simple Front Page, displaying what a Student might see when logged in]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Front page settings]]&lt;br /&gt;
*[[Front page FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Startseite]]&lt;br /&gt;
[[es:Portada]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Settings_block&amp;diff=103903</id>
		<title>Settings block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Settings_block&amp;diff=103903"/>
		<updated>2013-04-08T15:53:39Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to Managing a Moodle course and link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
The settings block provides context-sensitive links to settings pages.&lt;br /&gt;
&lt;br /&gt;
What appears in the setting block depends upon the [[Context]] (Page being shown and user&#039;s permissions). For example, the site administrator will notice the Front Page settings block has fewer options than the Course settings block and a student will have fewer options in the Course administration than a teacher.   &lt;br /&gt;
&lt;br /&gt;
Here are two unexpanded examples of the settings block:&lt;br /&gt;
&amp;lt;gallery widths=&amp;quot;200px&amp;quot; heights=&amp;quot;200px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Image:Settings block FrontPage collapsed.png|FrontPage settings block&lt;br /&gt;
Image:Settings block Course collapsed.png|Course settings block&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Settings block menus==&lt;br /&gt;
The main menu items (Front page settings, Course Administration, My profile settings and Site Administration) contain a submenu and can be collapsed or expanded to display the (typical) full menu as shown below:&lt;br /&gt;
*[[Front_page_settings_block|Front page settings]]&lt;br /&gt;
**Turn edit on/off&lt;br /&gt;
**Edit settings&lt;br /&gt;
**Users&lt;br /&gt;
**Filters&lt;br /&gt;
**Backup&lt;br /&gt;
**Restore&lt;br /&gt;
**Questions&lt;br /&gt;
**Files&lt;br /&gt;
&lt;br /&gt;
*[[Managing a Moodle course|Course administration]]&lt;br /&gt;
**Turn editing on&lt;br /&gt;
**Edit settings&lt;br /&gt;
**Users&lt;br /&gt;
**Filters&lt;br /&gt;
**Grades&lt;br /&gt;
**Backup&lt;br /&gt;
**Restore&lt;br /&gt;
**Import&lt;br /&gt;
**Publish&lt;br /&gt;
**Reset&lt;br /&gt;
**Question bank&lt;br /&gt;
&lt;br /&gt;
*[[Profile |My profile settings]]&lt;br /&gt;
**Edit profile&lt;br /&gt;
**Change password&lt;br /&gt;
**Roles&lt;br /&gt;
**Portfolios (if available at site level)&lt;br /&gt;
**Security keys&lt;br /&gt;
**Messaging&lt;br /&gt;
**Blogs&lt;br /&gt;
**Make this my default home page (if set at site level)&lt;br /&gt;
&lt;br /&gt;
*[[Site_administration|Site administration]]&lt;br /&gt;
**Notifications&lt;br /&gt;
**Registration&lt;br /&gt;
**Advanced features&lt;br /&gt;
**Users&lt;br /&gt;
**Courses&lt;br /&gt;
**Grades&lt;br /&gt;
**Location&lt;br /&gt;
**Language&lt;br /&gt;
**Plugins&lt;br /&gt;
**Security&lt;br /&gt;
**Appearance&lt;br /&gt;
**Front page&lt;br /&gt;
**Server&lt;br /&gt;
**Reports&lt;br /&gt;
**Development&lt;br /&gt;
**Question engine upgrade helper&lt;br /&gt;
&lt;br /&gt;
[[de:Einstellungen-Block]]&lt;br /&gt;
[[es:Bloque de configuraciones]]&lt;br /&gt;
[[eu:Ezarpenak_blokea]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=My_profile&amp;diff=103902</id>
		<title>My profile</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=My_profile&amp;diff=103902"/>
		<updated>2013-04-08T15:32:11Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Accounts}}&lt;br /&gt;
&lt;br /&gt;
==My profile==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;My profile&#039;&#039; is a link in the [[Navigation block]] that expands to allow users to access certain elements of their profile on Moodle.&lt;br /&gt;
&lt;br /&gt;
[[File:myprofile.gif]]&lt;br /&gt;
&lt;br /&gt;
===View profile===&lt;br /&gt;
This setting allows users to view their profile via &#039;&#039;Home&amp;gt;My profile&amp;gt;View profile&#039;&#039;. This is the full (site) profile.&lt;br /&gt;
Note that in addition to this, there are course profiles for each course the user is enrolled in, which can be accessed by clicking the  course profile links in the full profile. See [[View profile]] for more information on course and full profiles.&lt;br /&gt;
===Forum posts===&lt;br /&gt;
This expands to show both posts the user has contributed to and discussions they have begun.&lt;br /&gt;
===Messages===&lt;br /&gt;
This takes the user to their message screen to read and send messages.&lt;br /&gt;
===Private files===&lt;br /&gt;
This allows the user to upload files to a personal storage area for possible later inclusion in a course.&lt;br /&gt;
&lt;br /&gt;
==My profile settings==&lt;br /&gt;
&#039;&#039;My profile settings&#039;&#039; is a link in the [[Settings block]] that expands to allow users to change certain elements of their profile on Moodle, for example, set their messaging preferences and change their password. See [[Edit profile]] for more information.&lt;br /&gt;
&lt;br /&gt;
[[File:myprofilesttings.png]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[View profile]]&lt;br /&gt;
&lt;br /&gt;
[[Edit profile]]&lt;br /&gt;
&lt;br /&gt;
[[de:Mein Profil]]&lt;br /&gt;
[[es:Mi perfil]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=admin/setting/modsettingassign&amp;diff=103895</id>
		<title>admin/setting/modsettingassign</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=admin/setting/modsettingassign&amp;diff=103895"/>
		<updated>2013-04-08T02:06:13Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added redirect to an existing page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect[[Assignment settings]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=admin/setting/modsettingassign&amp;diff=103894</id>
		<title>admin/setting/modsettingassign</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=admin/setting/modsettingassign&amp;diff=103894"/>
		<updated>2013-04-08T02:05:57Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added redirect to an existing page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect[[Assignement settings]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=admin/setting/modsettingbook&amp;diff=103893</id>
		<title>admin/setting/modsettingbook</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=admin/setting/modsettingbook&amp;diff=103893"/>
		<updated>2013-04-08T02:03:00Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added redirect to an existing page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect[[Book settings]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=M%C3%B2dul_Xat&amp;diff=103892</id>
		<title>Mòdul Xat</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=M%C3%B2dul_Xat&amp;diff=103892"/>
		<updated>2013-04-08T01:59:54Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: updated link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Activities}}&lt;br /&gt;
The chat activity module allows participants to have a real-time synchronous discussion in a Moodle course. &lt;br /&gt;
&lt;br /&gt;
[[Image:Chatexample2.png]] &lt;br /&gt;
&lt;br /&gt;
This is a useful way to get a different understanding of each other and the topic being discussed – the mode of using a chat room is quite different from the asynchronous forums. The Chat module contains a number of features for managing and reviewing chat discussions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Chat settings]]&lt;br /&gt;
* [[Using Chat]]&lt;br /&gt;
* [[Chat FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Chat]]&lt;br /&gt;
[[cs:Modul Chat]]&lt;br /&gt;
[[es:Módulo chat]]&lt;br /&gt;
[[eu:Txata]]&lt;br /&gt;
[[fr:Chat]]&lt;br /&gt;
[[it:Modulo chat]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Activitats&amp;diff=103891</id>
		<title>Activitats</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Activitats&amp;diff=103891"/>
		<updated>2013-04-08T01:35:31Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing a Moodle course}}&lt;br /&gt;
An activity is a general name for a group of features in a Moodle course.  Usually an activity is something that a student will do that interacts with other students and or the teacher.  &lt;br /&gt;
&lt;br /&gt;
There are 14 different types of activities in the standard Moodle that can be found on the &amp;quot;add an activity&amp;quot; drop down menu. &lt;br /&gt;
;[[Assignment module|Assignments]]: Enable teachers to grade and give comments on uploaded files and assignments created on and off line&lt;br /&gt;
;[[Chat module|Chat]]: Allows participants to have a real-time synchronous discussion&lt;br /&gt;
;[[Choice module|Choice]]: A teacher asks a question and specifies a choice of multiple responses&lt;br /&gt;
;[[Database activity module|Database]]: Enables participants to create, maintain and search a bank of record entries&lt;br /&gt;
;[[External tool|External tool]]:Allows participants to interact with LTI compliant learning resources and activities on other web sites.&lt;br /&gt;
;[[Feedback module|Feedback]]: For creating and conducting surveys to collect feedback&lt;br /&gt;
;[[Forum module|Forum]]: Allows participants to have asynchronous discussions&lt;br /&gt;
;[[Glossary module|Glossary]]: Enables participants to create and maintain a list of definitions, like a dictionary&lt;br /&gt;
;[[Lesson module|Lesson]]: For delivering content in flexible ways&lt;br /&gt;
;[[Quiz module|Quiz]]: Allows the teacher to design and set quiz tests, which may be automatically marked and feedback and/or to correct answers shown&lt;br /&gt;
;[[SCORM module|SCORM]]: Enables SCORM packages to be included as course content&lt;br /&gt;
;[[Survey module|Survey]]: For gathering data from students to help teachers learn about their class and reflect on their own teaching&lt;br /&gt;
;[[Wiki module|Wiki]]: A collection of web pages that anyone can add to or edit&lt;br /&gt;
;[[Workshop module|Workshop]]: Enables peer assessment&lt;br /&gt;
&lt;br /&gt;
A site may add other activities which have been developed as [[:Category:Contributed code|contributed code]] and found in Moodle.org&#039;s [http://moodle.org/plugins Modules and Plugins] database for adding to a site.  &lt;br /&gt;
 &lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Activities block]] - lists all the activities in a course&lt;br /&gt;
* [[Managing activities]] - for administrators&lt;br /&gt;
&lt;br /&gt;
[[de:Aktivitäten]]&lt;br /&gt;
[[es:Actividades]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Managing_activities&amp;diff=103890</id>
		<title>Managing activities</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Managing_activities&amp;diff=103890"/>
		<updated>2013-04-08T01:32:00Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Activities}}&lt;br /&gt;
==Manage activities==&lt;br /&gt;
[[Image:activity modules admin.png|thumb|Activity modules administration]]An administrator can manage Moodle&#039;s activity modules for the site in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Manage activities&#039;&#039;, including any contributed modules (add-ons) that have been added.&lt;br /&gt;
&lt;br /&gt;
===Number of activities===&lt;br /&gt;
&lt;br /&gt;
The activities column lists how many activities for each module there are on your Moodle site. If you click on a number, the list of courses containing that activity will be displayed.&lt;br /&gt;
&lt;br /&gt;
===Version===&lt;br /&gt;
The numbers against the modules tell you the version (or age) of the module. It is useful to know how up to date each module is and, particularly with contributed modules, it is important to ensure you have the most up to date version that matches your version of Moodle. The first four digits relate to the year of the module.&lt;br /&gt;
&lt;br /&gt;
===Hiding a module===&lt;br /&gt;
The hide/show column allows selected modules to be hidden i.e. they do not appear in any course &amp;quot;Add an activity&amp;quot; dropdown menu and cannot be used in any course. To hide a module, click the eye icon so that it changes to a closed eye.&lt;br /&gt;
&lt;br /&gt;
The [[Feedback]] module (which will eventually be replaced by a newer survey module) is hidden by default.&lt;br /&gt;
&lt;br /&gt;
===Module deletion===&lt;br /&gt;
&lt;br /&gt;
Apart from the [[Forum module]], any module can be deleted using the link in the delete column. There is no reason for standard modules to be deleted, however contributed modules may need to be deleted before upgrading.&lt;br /&gt;
&lt;br /&gt;
Note: To delete a module completely, in addition to deleting it on the manage activities page, you also need to remove/delete the actual module folder from the &#039;&#039;moodle/mod&#039;&#039; folder, otherwise Moodle will reinstall it next time you access the site administration.&lt;br /&gt;
&lt;br /&gt;
===Module settings===&lt;br /&gt;
&lt;br /&gt;
Many of the modules have additional settings, mostly enabling default values to be set, which can be accessed via the links in the settings column.&lt;br /&gt;
&lt;br /&gt;
==Reducing the number of activities listed in the activity chooser==&lt;br /&gt;
&lt;br /&gt;
By default, managers and teachers can add any activity module enabled on the site to a course. However, the list of activities in the activity chooser (or &#039;Add an activity&#039; dropdown menu) may be reduced in number by preventing the capability to add instances of particular activity modules.&lt;br /&gt;
 &lt;br /&gt;
Note for admins of sites upgrading from 2.2: The set of &#039;&#039;addinstance&#039;&#039; capabilities replaces the module security functionality in Moodle 2.2, allowing for finer-grained control of activity module availability.&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Aktivitäten verwalten]]&lt;br /&gt;
[[es:Gestionando actividades]]&lt;br /&gt;
[[eu:Moduluak_(Kudeatzailea)]]&lt;br /&gt;
[[fr:Modules (administrateur)]]&lt;br /&gt;
[[ja:モジュール管理 (管理者)]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Managing_activities&amp;diff=103889</id>
		<title>Managing activities</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Managing_activities&amp;diff=103889"/>
		<updated>2013-04-08T01:31:25Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Activities}}&lt;br /&gt;
==Manage activities==&lt;br /&gt;
[[Image:activity modules admin.png|thumb|Activity modules administration]]An administrator can manage Moodle&#039;s activity modules for the site in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Manage activities&#039;&#039;, including any contributed modules (add-ons) that have been added.&lt;br /&gt;
&lt;br /&gt;
===Number of activities===&lt;br /&gt;
&lt;br /&gt;
The activities column lists how many activities for each module there are on your Moodle site. If you click on a number, the list of courses containing that activity will be displayed.&lt;br /&gt;
&lt;br /&gt;
===Version===&lt;br /&gt;
The numbers against the modules tell you the version (or age) of the module. It is useful to know how up to date each module is and, particularly with contributed modules, it is important to ensure you have the most up to date version that matches your version of Moodle. The first four digits relate to the year of the module.&lt;br /&gt;
&lt;br /&gt;
===Hiding a module===&lt;br /&gt;
The hide/show column allows selected modules to be hidden i.e. they do not appear in any course &amp;quot;Add an activity&amp;quot; dropdown menu and cannot be used in any course. To hide a module, click the eye icon so that it changes to a closed eye.&lt;br /&gt;
&lt;br /&gt;
The [[Feedback]] module (which will eventually be replaced by a newer survey module) is hidden by default.&lt;br /&gt;
&lt;br /&gt;
===Module deletion===&lt;br /&gt;
&lt;br /&gt;
Apart from the [[Forum module]], any module can be deleted using the link in the delete column. There is no reason for standard modules to be deleted, however contributed modules may need to be deleted before upgrading.&lt;br /&gt;
&lt;br /&gt;
Note: To delete a module completely, in addition to deleting it on the manage activities page, you also need to remove/delete the actual module folder from the &#039;&#039;moodle/mod&#039;&#039; folder, otherwise Moodle will reinstall it next time you access the site administration.&lt;br /&gt;
&lt;br /&gt;
===Module settings===&lt;br /&gt;
&lt;br /&gt;
Many of the modules have additional settings, mostly enabling default values to be set, which can be accessed via the links in the settings column.&lt;br /&gt;
&lt;br /&gt;
==Reducing the number of activities listed in the activity chooser==&lt;br /&gt;
&lt;br /&gt;
By default, managers and teachers can add any activity module enabled on the site to a course. However, the list of activities in the activity chooser (or &#039;Add an activity&#039; dropdown menu) may be reduced in number by preventing the capability to add instances of particular activity modules.&lt;br /&gt;
 &lt;br /&gt;
Note for admins of sites upgrading from 2.2: The set of &#039;&#039;addinstance&#039;&#039; capabilities replaces the module security functionality in Moodle 2.2, allowing for finer-grained control of activity module availability.&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Aktivitäten verwalten]]&lt;br /&gt;
[[es:gestionando actividades]]&lt;br /&gt;
[[eu:Moduluak_(Kudeatzailea)]]&lt;br /&gt;
[[fr:Modules (administrateur)]]&lt;br /&gt;
[[ja:モジュール管理 (管理者)]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Managing_activities&amp;diff=103888</id>
		<title>Managing activities</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Managing_activities&amp;diff=103888"/>
		<updated>2013-04-08T01:30:38Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: contributed modules are now &amp;#039;add-ons&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Activities}}&lt;br /&gt;
==Manage activities==&lt;br /&gt;
[[Image:activity modules admin.png|thumb|Activity modules administration]]An administrator can manage Moodle&#039;s activity modules for the site in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Manage activities&#039;&#039;, including any contributed modules (add-ons) that have been added.&lt;br /&gt;
&lt;br /&gt;
===Number of activities===&lt;br /&gt;
&lt;br /&gt;
The activities column lists how many activities for each module there are on your Moodle site. If you click on a number, the list of courses containing that activity will be displayed.&lt;br /&gt;
&lt;br /&gt;
===Version===&lt;br /&gt;
The numbers against the modules tell you the version (or age) of the module. It is useful to know how up to date each module is and, particularly with contributed modules, it is important to ensure you have the most up to date version that matches your version of Moodle. The first four digits relate to the year of the module.&lt;br /&gt;
&lt;br /&gt;
===Hiding a module===&lt;br /&gt;
The hide/show column allows selected modules to be hidden i.e. they do not appear in any course &amp;quot;Add an activity&amp;quot; dropdown menu and cannot be used in any course. To hide a module, click the eye icon so that it changes to a closed eye.&lt;br /&gt;
&lt;br /&gt;
The [[Feedback]] module (which will eventually be replaced by a newer survey module) is hidden by default.&lt;br /&gt;
&lt;br /&gt;
===Module deletion===&lt;br /&gt;
&lt;br /&gt;
Apart from the [[Forum module]], any module can be deleted using the link in the delete column. There is no reason for standard modules to be deleted, however contributed modules may need to be deleted before upgrading.&lt;br /&gt;
&lt;br /&gt;
Note: To delete a module completely, in addition to deleting it on the manage activities page, you also need to remove/delete the actual module folder from the &#039;&#039;moodle/mod&#039;&#039; folder, otherwise Moodle will reinstall it next time you access the site administration.&lt;br /&gt;
&lt;br /&gt;
===Module settings===&lt;br /&gt;
&lt;br /&gt;
Many of the modules have additional settings, mostly enabling default values to be set, which can be accessed via the links in the settings column.&lt;br /&gt;
&lt;br /&gt;
==Reducing the number of activities listed in the activity chooser==&lt;br /&gt;
&lt;br /&gt;
By default, managers and teachers can add any activity module enabled on the site to a course. However, the list of activities in the activity chooser (or &#039;Add an activity&#039; dropdown menu) may be reduced in number by preventing the capability to add instances of particular activity modules.&lt;br /&gt;
 &lt;br /&gt;
Note for admins of sites upgrading from 2.2: The set of &#039;&#039;addinstance&#039;&#039; capabilities replaces the module security functionality in Moodle 2.2, allowing for finer-grained control of activity module availability.&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Aktivitäten verwalten]]&lt;br /&gt;
[[eu:Moduluak_(Kudeatzailea)]]&lt;br /&gt;
[[fr:Modules (administrateur)]]&lt;br /&gt;
[[ja:モジュール管理 (管理者)]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Guest_role&amp;diff=103884</id>
		<title>Guest role</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Guest_role&amp;diff=103884"/>
		<updated>2013-04-07T21:15:03Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Standard roles}}&lt;br /&gt;
==The guest account==&lt;br /&gt;
&lt;br /&gt;
Moodle has a built-in &amp;quot;Guest account&amp;quot;. Visitors can log in as guests using the &amp;quot;Login as a guest&amp;quot; button on the login screen and enter any courses which allow guest access. In addition, logged-in users can enter any courses which allow guest access without being required to enrol.&lt;br /&gt;
&lt;br /&gt;
Guests ALWAYS have &amp;quot;read-only&amp;quot; access - meaning they can&#039;t leave any posts or otherwise mess up the course for real students.&lt;br /&gt;
&lt;br /&gt;
They &#039;&#039;cannot&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
* Post in [[Forum module|forums]]&lt;br /&gt;
* Edit [[Wiki module|wiki]] pages&lt;br /&gt;
* Participate in a [[Chat module|chat]]&lt;br /&gt;
* Take [[Quiz|quizzes]]&lt;br /&gt;
* Submit [[Assignment|assignments]]&lt;br /&gt;
* Add [[Glossary|glossary]] or [[Database activity module|database activity]] entries or comments&lt;br /&gt;
* Receive any scores or grades (because of the read-only access)&lt;br /&gt;
&lt;br /&gt;
This feature can be handy when you want to let a colleague in to look around at your work, or to let students see a course before they have decided to enrol.&lt;br /&gt;
&lt;br /&gt;
If you want guests to be able to take quizzes, or any of the other activities listed above, and have considered the security implications, you can create a visitor account, say with username = password = visitor, for everyone to share.&lt;br /&gt;
&lt;br /&gt;
==Enabling guest access==&lt;br /&gt;
To allow guests into courses on your Moodle, see [[Guest_access|Guest access]].&lt;br /&gt;
&lt;br /&gt;
==Skip login page for guest account==&lt;br /&gt;
&lt;br /&gt;
All users will be automatically logged in as guests if you enable &#039;&#039;Auto-login guests&#039;&#039; in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; User policies&#039;&#039;. The standard login page is displayed after users visit page that requires real user login.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=69674 Allowing guests to post in forum?]&lt;br /&gt;
&lt;br /&gt;
[[fr:Visiteur anonyme]]&lt;br /&gt;
[[ja:ゲストアクセス]]&lt;br /&gt;
[[de:Gast-Rolle]]&lt;br /&gt;
[[es:Rol de invitado]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Student_role&amp;diff=103883</id>
		<title>Student role</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Student_role&amp;diff=103883"/>
		<updated>2013-04-07T21:07:49Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Standard roles}}&lt;br /&gt;
*A user with the Student [[Roles|role]] in Moodle can participate in course activities and view resources but not alter them or see the class gradebook. They can see their own grades if the teacher has allowed this. &lt;br /&gt;
*When a student first joins Moodle they see all available courses. Once they have enrolled or been enrolled into at least one course they then only see their own courses in the My Courses section of the  [[Navigation_block|navigation block]] or via the [[My home]] link.&lt;br /&gt;
*A student&#039;s view and navigation in Moodle will be different from the course teacher&#039;s or from students assigned to a different [[Groups|group]].&lt;br /&gt;
&lt;br /&gt;
*Administrators and [[Teacher|Teachers]] determine how a student enrolls, and what they can do or see in a Moodle site. These [[Role permissions|permissions]] can vary with each course or with any of Moodle&#039;s many kinds of activities.  For example, in some [[Context|contexts]], students may correct or grade other students&#039; work, be encouraged to explore everything in a course and interact with other participants.  In a different context, the student maybe guided upon a very defined path, with minimal interaction with others.  &lt;br /&gt;
&lt;br /&gt;
[[Category: Student]]&lt;br /&gt;
&lt;br /&gt;
[[ja:学生]]&lt;br /&gt;
[[de:Teilnehmer-Rolle]]&lt;br /&gt;
[[es:Rol de estudiante]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Non-editing_teacher_role&amp;diff=103882</id>
		<title>Non-editing teacher role</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Non-editing_teacher_role&amp;diff=103882"/>
		<updated>2013-04-07T20:51:23Z</updated>

		<summary type="html">&lt;p&gt;Germanvaleroelizondo: added link to spanish translation of document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Standard roles}}&lt;br /&gt;
&lt;br /&gt;
*A non-editing teacher is able within a course to view and grade students&#039; work but may not alter or delete any of the activities or resources.&lt;br /&gt;
*This role might typically be given to a classroom assistant for example.&lt;br /&gt;
&lt;br /&gt;
[[de:Trainer-Rolle ohne Bearbeitungsrecht]]&lt;br /&gt;
[[es:Rol de maestro no-editor]]&lt;/div&gt;</summary>
		<author><name>Germanvaleroelizondo</name></author>
	</entry>
</feed>