Note: You are currently viewing documentation for Moodle 2.1. Up-to-date documentation for the latest stable version is available here: Installing AMP.

Installing AMP: Difference between revisions

From MoodleDocs
(Installing Moodle template)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Installing Moodle}}
AMP, stands for '''A'''pache, '''M'''ySQL & '''P'''HP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations.  
AMP, stands for '''A'''pache, '''M'''ySQL & '''P'''HP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations.  


Line 29: Line 30:
While one-click installers (e.g. XAMPP) exist for Linux, it is so simple to install the components the "right" way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support.  
While one-click installers (e.g. XAMPP) exist for Linux, it is so simple to install the components the "right" way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support.  


Of course, if you wish to (or you needs a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: [[Compiling PHP from source]]
Of course, if you wish to (or you need a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: [[Compiling PHP from source]]


== Windows ==
== Windows ==
Line 37: Line 38:
* [http://www.apachefriends.org/en/xampp-windows.html XAMPP]: Probably the best known one-click installer for Windows. Lots of documentation and discussion around. Definitely only for a personal web server
* [http://www.apachefriends.org/en/xampp-windows.html XAMPP]: Probably the best known one-click installer for Windows. Lots of documentation and discussion around. Definitely only for a personal web server
* [http://www.easyphp.org/ EasyPHP]: Another popular alternative to the above
* [http://www.easyphp.org/ EasyPHP]: Another popular alternative to the above
* [http://php.net/manual/en/install.windows.php Official PHP Documentation]: A lengthy list of installing PHP on all manner of Windows and web server variations
* [http://php.net/manual/en/install.windows.php Official PHP Documentation]: A lengthy list of instructions for installing PHP on all manner of Windows and web server variations
* [http://www.mysql.com/downloads/mysql/ MySQL]: Select Windows and download installer.  
* [http://www.mysql.com/downloads/mysql/ MySQL]: Select Windows and download installer.  
* [http://www.postgresql.org/download/windows/ PostgreSQL]: Download installer for Windows
* [http://www.postgresql.org/download/windows/ PostgreSQL]: Download installer for Windows
Line 45: Line 46:
Many people have trouble installing the stand alone local [http://download.moodle.org/windows/ Moodle for Windows] on Vista and Windows 7.
Many people have trouble installing the stand alone local [http://download.moodle.org/windows/ Moodle for Windows] on Vista and Windows 7.


There are several solutions:
Here are some things you might want to try:


- A simple one is to use http://bitnami.org/stack/moodle
* A simple one is to use http://bitnami.org/stack/moodle
 
* Another solution is to look at these videos at [http://www.sebastiansulinski.co.uk/web_design_tutorials/tutorial/7/install_apache_php_and_mysql_on_windows_vista Sebastian Sulinski Design] for Windows Vista.  
- Another solution is to look at these videos at [http://www.sebastiansulinski.co.uk/web_design_tutorials/tutorial/7/install_apache_php_and_mysql_on_windows_vista Sebastian Sulinski Design] for Windows Vista.  
* For personal (evaluation) use - install XAMPP or EasyPHP and then Moodle using the normal installation instructions.
 
- Also, the page at [http://www.webdevelopersnotes.com/how-do-i/install-apache-windows-7.php Web Developer's Notes] outlines how you can install an AMP on windows 7.
Installing Moodle from there should be considerably easier.
 
- It's also easy to install a [http://www.apachefriends.org/en/xampp.html Xampp server] and then a [http://download.moodle.org/ Standard Moodle Package] Note: '''''not''''' Moodle for Windows.


== See also ==
== See also ==
Line 60: Line 56:
* [[Installation FAQ]]
* [[Installation FAQ]]
* [[Upgrading Moodle]]
* [[Upgrading Moodle]]
* [[Complete install packages]], also includes instructions for creating a stand alone (localhost) installation on a single computer.
[[Category:Installation]]


[[es:Instalación AMP]]
[[es:Instalación AMP]]

Latest revision as of 09:09, 8 December 2011

AMP, stands for Apache, MySQL & PHP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations.

'All-in-one' Moodle installers for Windows and OSX are available at http://httpd.apache.org/docs/2.0/install.html (not intended for 'production' sites).

First a word about PostgreSQL

If you would prefer to use the PostgreSQL database (and you should consider it) you can - when using the package type installers - just install it instead of MySQL. MySQL tends to be the universal choice with the simpler 'one-click' installers.

Mac OS X

OSX comes with a suitable Apache web server and a not so suitable PHP (it doesn't have all the required extensions).

Here are some other possibilities (all are documented so this is not repeated here):

Linux

You should install the packages from your distribution's repository for Apache, PHP and MySQL. You will almost certainly need additional extensions for PHP (e.g. the extension for the database). The packaged versions of Moodle are not recommended (it's not much harder to install from moodle.org download)

See (for example):

While one-click installers (e.g. XAMPP) exist for Linux, it is so simple to install the components the "right" way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support.

Of course, if you wish to (or you need a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: Compiling PHP from source

Windows

Windows has slightly more variations as you can use Apache or Microsoft's IIS web servers. Again, here are some pointers

  • XAMPP: Probably the best known one-click installer for Windows. Lots of documentation and discussion around. Definitely only for a personal web server
  • EasyPHP: Another popular alternative to the above
  • Official PHP Documentation: A lengthy list of instructions for installing PHP on all manner of Windows and web server variations
  • MySQL: Select Windows and download installer.
  • PostgreSQL: Download installer for Windows

Vista and Windows 7

Many people have trouble installing the stand alone local Moodle for Windows on Vista and Windows 7.

Here are some things you might want to try:

See also