Installing AMP: Difference between revisions

From MoodleDocs
(admin documentation category)
(see also, admin category)
Line 1: Line 1:
Moodle is written in a scripting language called PHP, and stores most of its data in a database. The database we recommend is MySQL. Before installing Moodle you must have a working PHP installation and a working database to turn your computer into a functional web server platform. These packages can be tricky to set up for average computer users, so this page has been written to try to make this process as simple as possible for different platforms:
Moodle is written in a scripting language called PHP, and stores most of its data in a database. The database we recommend is MySQL. Before installing Moodle you must have a working PHP installation and a working database to turn your computer into a functional web server platform. These packages can be tricky to set up for average computer users, so this page has been written to try to make this process as simple as possible for different platforms:
__TOC__


== Hosting Service ==
== Hosting Service ==
Line 19: Line 17:


Once these are installed the standard [[Installing Moodle|Installation guide]] should be fairly straightforward.
Once these are installed the standard [[Installing Moodle|Installation guide]] should be fairly straightforward.
A more detailed walkthrough is here: [[Step by Step Installation Guide for Mac OS X]]


== Redhat Linux ==
== Redhat Linux ==
Line 32: Line 28:
== Windows ==
== Windows ==


The easiest way to do this is use EasyPHP, a package that bundles all the software you need into a single Windows application. Here are the steps from start to finish: [[Step_by_Step_Installation_Guide_for_Windows]].
The easiest way to do this is use EasyPHP, a package that bundles all the software you need into a single Windows application. Here are the steps from start to finish: [[Step by Step Installation Guide for Windows]].
 
==See also==
[[Category:Administrator documentation]]
*[[Installing Moodle]]
[[Category:Installation|Apache, MySQL and PHP]]
*[[Installation FAQ]]
*[[Upgrading Moodle]]
*[[Step by Step Installation Guide for Debian GNU/Linux]]
[[Category:Administrator]]
[[Category:Installation]]

Revision as of 20:49, 24 November 2005

Moodle is written in a scripting language called PHP, and stores most of its data in a database. The database we recommend is MySQL. Before installing Moodle you must have a working PHP installation and a working database to turn your computer into a functional web server platform. These packages can be tricky to set up for average computer users, so this page has been written to try to make this process as simple as possible for different platforms:

Hosting Service

Unfortunately hosting services vary quite a lot in the way they work. Some will even install Moodle for you.

Most will offer a web-based control panel to control your site, create databases and set up cron. Some may also offer terminal access via ssh, so that you can use the command shell to do things.

You should work your way through the Installation guide and take each step at a time. Ask your hosting provider if you get stuck.

Mac OS X

The easiest way to do this is use the Apache server that Apple provides, and add PHP and MySQL using Marc Liyanage's packages. Both of the pages below come with good instructions that we won't duplicate here:

Once these are installed the standard Installation guide should be fairly straightforward.

Redhat Linux

You should install all available RPM packages for Apache, PHP and MySQL. One package that people frequently forget is the php-mysql package which is necessary for PHP to talk to MySQL.

Once these are installed the standard Installation guide should be fairly straightforward.

A more detailed walkthrough is here: Step by Step Installation Guide for RedHat

Windows

The easiest way to do this is use EasyPHP, a package that bundles all the software you need into a single Windows application. Here are the steps from start to finish: Step by Step Installation Guide for Windows.

See also