Note: This documentation is for Moodle 2.7. For up-to-date documentation see System paths.

System paths: Difference between revisions

From MoodleDocs
m (→‎Path to aspell: Explanation of windows 8.3 notation)
m (added link to spanish translation of page)
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Location: ''Administration > Server > System Paths''
{{Server settings}}
An administrator can set the following system paths in ''Administration > Site administration > Server > System Paths''.
 
'''Note''': When setting the system paths on Windows systems, use of the 8.3 notation for the path and filename is preferred. So instead of entering ''c:\program files\path to aspell\aspell.exe'', enter ''c:\progra~1\path~1\aspell.exe''. Check the exact 8.3 path using the ''dir /x'' command at the prompt.
 
==Path to du==
 
This binary file was used in Moodle 1.x to quickly look up the size of data directories. It is possible that some add-ons still use this functionality.


==Path to aspell==
==Path to aspell==


To use spell-checking within the [[HTML editor]], you MUST have aspell 0.50 or later installed on your server, and you must specify the correct path to access the aspell binary. On Unix/Linux systems use the which program to determine the path:
If PSpellSpell is selected as the spell engine for TinyMCE in ''Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor'' then you must specify the correct path to access the aspell binary.
 
In addition, you MUST have aspell 0.50 or later installed on your server. On Unix/Linux systems use the which program to determine the path:


  [root@moodle ~]# which aspell
  [root@moodle ~]# which aspell
Line 10: Line 19:
In this example the path to enter is ''/usr/bin/aspell''.  
In this example the path to enter is ''/usr/bin/aspell''.  


On a Windows system, use the search facility in Explorer to find the aspell.exe file. The path should look like:
On a Windows system, download and install [http://aspell.net/win32 GNU aspell] together with at least one dictionary and then use the search facility in Explorer to find the aspell.exe file. The path should look like:
 
c:\program files\aspell\bin\aspell.exe


c:\program files\aspell\bin\aspell
It can be best to install aspell in c:\aspell or use the 8.3 notation if you are installing in ''c:\program files'' so that the path looks like


where the last aspell is the ''aspell.exe'' file. Some people have reported problems with a path like ''c:\program files\aspell'', probably caused by the space before ''files''. It can be best to install aspell in c:\aspell or use the 8.3 notation if you are installing in ''c:\program files'' so that the path looks like
c:\progra~1\aspell\bin\aspell.exe


c:\progra~1\aspell\bin\aspell
==Path to dot==


*[[Configuring aspell on Mac OS X]]
Path to dot is for enabling image generation in profiling. The generated graphs are really useful to see what each request does. To have profiling visible (and working), the xhprof extension must be installed in PHP.
*[[Configuring aspell on Windows 2003 Server]]


==External links==
==External links==
Line 25: Line 35:
*[http://aspell.sourceforge.net/ GNU Aspell]
*[http://aspell.sourceforge.net/ GNU Aspell]
*[http://aspell.net/win32/ GNU Aspell (Win32 version)]
*[http://aspell.net/win32/ GNU Aspell (Win32 version)]
*[http://sourceforge.net/project/showfiles.php?group_id=9328 Du, Zip and Unzip binaries for Win32]


==See also==
==See also==


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=28465 Check your aspell installation] forum discussion
* [http://moodle.org/mod/forum/discuss.php?d=125912 HowTo: Installing aspell in Ubuntu (with dictionary)] forum discussion
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=41831 When will we be able to use TinyCME in Moodle?] forum discussion


[[Category:Administrator]]
[[cs:admin/setting/systempaths]]
[[de:Systempfade]]
[[es:Rutas del sistema]]
[[hu:Rendszerútvonalak]]
[[ja:システムパス]]

Latest revision as of 16:44, 28 September 2014

An administrator can set the following system paths in Administration > Site administration > Server > System Paths.

Note: When setting the system paths on Windows systems, use of the 8.3 notation for the path and filename is preferred. So instead of entering c:\program files\path to aspell\aspell.exe, enter c:\progra~1\path~1\aspell.exe. Check the exact 8.3 path using the dir /x command at the prompt.

Path to du

This binary file was used in Moodle 1.x to quickly look up the size of data directories. It is possible that some add-ons still use this functionality.

Path to aspell

If PSpellSpell is selected as the spell engine for TinyMCE in Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor then you must specify the correct path to access the aspell binary.

In addition, you MUST have aspell 0.50 or later installed on your server. On Unix/Linux systems use the which program to determine the path:

[root@moodle ~]# which aspell
/usr/bin/aspell

In this example the path to enter is /usr/bin/aspell.

On a Windows system, download and install GNU aspell together with at least one dictionary and then use the search facility in Explorer to find the aspell.exe file. The path should look like:

c:\program files\aspell\bin\aspell.exe

It can be best to install aspell in c:\aspell or use the 8.3 notation if you are installing in c:\program files so that the path looks like

c:\progra~1\aspell\bin\aspell.exe

Path to dot

Path to dot is for enabling image generation in profiling. The generated graphs are really useful to see what each request does. To have profiling visible (and working), the xhprof extension must be installed in PHP.

External links

See also