Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Installing AMP.
Comments on this page Aug 2008
Installing AMP as a page started in 2005 and is really out of date, almost beyond help :) I have tried to give a brief description under various headings but steer people to other pages. For example, the MAC OS section did not mention the complete install package for MAC OS. I could go on, I will double check which pages link here and see if there are better links. Frankly, I would call this one of those disambiguation pages, delete everything except links to more appropriate ones. But that is just me. --chris collman 07:36, 7 August 2008 (CDT)
More windows local host comments
I will be on holiday-vacation off and on for next 3 weeks and will not have time to do another fresh install. I feel bad for those who are frustrated.
I believe the Windows instructions need to include a setup mysql bat file and perhaps same for xammp . My machine already had two version of Moodle on it in their own folders. Bet a clean install does not have c:\windows\mysql.ini file . Sorry I can not check it out futher for a couple of weeks.--chris collman 20:01, 2 August 2006 (WST)
Alternative Windows Intructions
Needs formating and double checking. This came from this thread Installing Moodle 1.6 on an XP machine.
install moodle locally:
1. Download the complete file. Chris notes not correct file but http://download.moodle.org/download.php/windows/MoodleWindowsInstaller-latest-15.zip 2. Create a folder on you hard drive (e.g. moodlelocal) and unpack it to this folder 3. Change to the moodle directory created in the moodlelocal folder 4. Run setup_xampp.bat and follow the instructions (should only take a minute) 5. Run apache_start.bat and leave running (if asked by Windows choose “unblock”) 6. Run mysql_start.bat and leave running (if asked by Windows choose “unblock”) 7. Open your internet browser and enter http://localhost/ 8. Moodle install pages 1. Moodle Windows Installer - choose next 2. Checking your PHP settings – choose next 3. Please confirm the locations of this Moodle installation – leave defaults and choose next 4. Now you need to configure the database - leave defaults and choose next 5. Checking your environment – choose next 6. Configuration complete – choose continue 7. Copyright notice – choose yes 8. Setting up database – choose continue at bottom of the screen 9. Current version – choose continue 10. Release notes – choose continue 11. Variables – can leave defaults and choose save changes (these can be changed later) 12. Assignment - choose continue at bottom of the screen 13. Upgrading database - choose continue at bottom of the screen 14. Upgrading database - choose continue at bottom of the screen 15. Setting up blocks - choose continue at bottom of the screen 16. Setting up modules - choose continue at bottom of the screen 17. Site settings – (can always change latter)
i. Full site name – eg. moodle test ii. Short name – moodle 1.5.3 ii. Front page description – moodle test iv. Choose save changes at bottom
18. On this page you should configure your main administrator account - (can always change latter) - COMPLETE
i. New password ii. Email address iii. City/town iv. Country v. Choose update profile That should do it. When you are done using moodle locally
1. Change to the moodle directory created in the moodlelocal folder 2. Run mysql_stop.bat 3. Run apache_stop.bat
Unhappy Installer Windows XP
"7. This will start the Moodle Install process, see elsewhere for detail instructions. This can take some time for a new user. Don't panic, you can change things later and the install process will tell you what you absolutely have to fill in or correct."
see elsewhere for detail instructions ? - Now that's what I call helpful. How about a link to this mysterious "elswhere".
The instructions don't work. Apache never started. "Diese Eingabeforderung nicht waehrend des Running beenden Bitte erst bei einem gewollten Shutdown schliessen Please close this command only for Shutdown Apache 2 is starting ... (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs
Apache konnte nicht gestartet werden Apache could not be started Press any key to continue . . ."
I give up for now...
--- Re Elsewhere. Got called away and never went back to put the install moodle link. Thanks for putting in the link.--chris collman 01:04, 30 July 2006 (WST)
I am sorry it did not work for you. I used these instructions on two different machines and they worked. There is a chance I didn't follow my own instructions exactly. I was able to duplicate your error message and have a possible solution.
I was able to get your error message when I got my localhost Moodle (1.5.3) running (it has its own folder and own apache and mysql), then tried to get my Moodle (v 1.6.1 in c:\xampplite) to run at the same time by using either "start_apache" or "start_xampp" commands. 0.0.0.0.0:80 error which I think means Apache is already running and it is not going to run it again. Solution: run stop_apache and try it again. I don't know what else you have on your computer, mine are pretty plain so I don't need to worry about a local wikipedia (for example) running while I use my local Moodle.
I recognized the error message from when I first installed Moodle and later when I first had two version of moodle. I got really frustrated. I found rebooting my computer sometimes got me past that error message. That is the long way of stopping all instances of Apache on a machine. --chris collman 01:04, 30 July 2006 (WST) :)
Sounds like this would also happen if another application has port 80 tied up, such as IIS or Skype. In that case running stop_apache wouldn't help. --Richard Enison 04:33, 5 February 2009 (CST)
CC, I have four versions of this Xampplite Moodle on my PC from 1.7 to 1.8.3 and none of them has a start_xampp.bat or restart_xampp.bat file. The closest thing to them are the xampp_start.exe and xampp_restart.exe files, which btw don't work for me. I use the "still fast" method, which works just fine, except that I do it in the other order: I start mysql first, then apache. Because a lot of times I just want to mess with the db and don't need apache running. However, it seems that every time I install a new version, after I boot up I find mysql (but not apache) running already as a service, which is OK but I never asked for it to do that. Anyway, I was just editing the Windows section of this page but I didn't change the part about the non-existent bat files because I wanted to get your reaction first. --Richard Enison 03:00, 23 November 2007 (CST)
I would add that I also don't have Moodle.exe or Start Moodle.exe, which are mentioned as the first thing to run by the article itself, section Windows, instruction #4. --Richard Enison 06:11, 1 June 2008 (CDT)
Currently (since August 2008), section 4.3 of the article is entitled "ISS for Windows". What is ISS? It talks about IIS, which presumably is what the I stands for. Acronym Finder has 119 definitions of ISS, including 30 in the Information Technology category, none of which have I standing for IIS, although in some it stands for Internet. --Richard Enison 04:42, 5 February 2009 (CST)