Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: System paths.

System paths: Difference between revisions

From MoodleDocs
m (Added zip and unzip paths)
Line 1: Line 1:
Location: ''Administration > Server > System Paths''
Location: ''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 zip==
When compressing files Moodle uses either the PclZip library or the external zip program. The external program is faster, so if you are experiencing slow backups or other performance problems, try setting the path to your zip program. On Unix/Linux systems, find the path as follows using the which program:
[root@moodle ~]# which zip
/usr/bin/zip
In this example the path to enter is ''/usr/bin/zip''.
On Windows systems, download [[http://gnuwin32.sourceforge.net/packages/zip.htm the GNU Win32 Zip complete package]]. Run the setup.exe program to install and use the search facility in Explorer to find the location of the zip.exe file. The path should look like:
c:\program files\gnuwin32\bin\zip.exe
If this does not work, shorten it to the 8.3 notation:
c:\progra~1\gnuwin32\bin\zip.exe
==Path to unzip==
When uncompressing files Moodle uses either the PclZip library or the external unzip program. As with the zip program, the external program is faster, so if you are experiencing slow backups or other performance problems, try setting the path to your unzip program. On Unix/Linux systems, find the path as follows using the which program:
[root@moodle ~]# which unzip
/usr/bin/unzip
In this example the path to enter is ''/usr/bin/unzip''.
On Windows systems, download [[http://gnuwin32.sourceforge.net/packages/unzip.htm the GNU Win32 Zip complete package]]. Run the setup.exe program to install and use the search facility in Explorer to find the location of the unzip.exe file. The path should look like:
c:\program files\gnuwin32\bin\unzip.exe
If this does not work, shorten it to the 8.3 notation:
c:\progra~1\gnuwin32\bin\unzip.exe


==Path to aspell==
==Path to aspell==
Line 14: Line 50:
  c:\program files\aspell\bin\aspell.exe
  c:\program files\aspell\bin\aspell.exe


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  
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.exe

Revision as of 22:43, 22 August 2007

Location: 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 zip

When compressing files Moodle uses either the PclZip library or the external zip program. The external program is faster, so if you are experiencing slow backups or other performance problems, try setting the path to your zip program. On Unix/Linux systems, find the path as follows using the which program:

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

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

On Windows systems, download [the GNU Win32 Zip complete package]. Run the setup.exe program to install and use the search facility in Explorer to find the location of the zip.exe file. The path should look like:

c:\program files\gnuwin32\bin\zip.exe

If this does not work, shorten it to the 8.3 notation:

c:\progra~1\gnuwin32\bin\zip.exe

Path to unzip

When uncompressing files Moodle uses either the PclZip library or the external unzip program. As with the zip program, the external program is faster, so if you are experiencing slow backups or other performance problems, try setting the path to your unzip program. On Unix/Linux systems, find the path as follows using the which program:

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

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

On Windows systems, download [the GNU Win32 Zip complete package]. Run the setup.exe program to install and use the search facility in Explorer to find the location of the unzip.exe file. The path should look like:

c:\program files\gnuwin32\bin\unzip.exe

If this does not work, shorten it to the 8.3 notation:

c:\progra~1\gnuwin32\bin\unzip.exe

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:

[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

External links

See also