Tuesday, June 26, 2018

Getting Started (Installation) and Apache crash solved

I will be attempting to get Moodle up-and-running on a localhost (local computer acting as a server to a local network in my school). My previous attempts failed. I think they failed because of a memory allocation error in the Moodle installer. I will be using a Windows 7 operating system. SPOILER- Yes it works!

I downloaded the Windows Installation package at moodle.org. It is version 3.5. It is a big zip file so the download took a few minutes.
Now I will open the installation and see how it goes.

After the download you must extract the folder. Inside, click on "Start Moddle.exe". A cmd window wil pop up like below:


After it is finished, go to http://localhost/ in your web browser.
The first install window should appear in a minute, looks like this:


Choose your language and click "next".
Here is the next window:


You must choose the paths for your install. I will just leave them as is.
Click next and you get the database settings:

Just enter a password. Click next.
Next is a copyright notice....

click continue....
Next is a check of your server installation..



if all is well, click continue.
the next window is a check of all the module installations:


Scroll to the bottom and click continue.
Out of nowhere I got a warning window pop-up. It is this:


I clicked close the program. It keeps popping up. Now what?????
If I refresh the localhost page.. it comes back.
I will try clicking the "Stop Moodle.exe" in the install folder, then the "Start Moddle.exe" nd see what happens.
When I did that, I got 2 pop-up windows of Windows Firewall asking for permissions. I will click "allow access" on both.


Now I refresh th localhost page and again the apache crash. I will turn off Moodle and on again and see what happens.
SAME PROBLEM!!!
the address is showing as http://localhost/user/editadvanced.php?id=2
I will try and go back to the original localhost address (http://localhost/) and see if that helps...
SAME CRASH!!!
I will need to look online for a solution..... hold on...........

I will try the solution given here: It says there is a memory shortage.
OK so it is not just the same installation as in the article.

You must go to the install folder and open the server folder, open the apache folder, open the conf folder, open the httpd.conf file. You will need to open it with wordpad or notepad or other text editor. Add the last 3 lines as in the link above (at the bottom of the file). It should look like this:


Now I restart moodle and go to the localhost address and get this:

Fill in your administration information and  then update profile.....

You will then get the front page settings.... like this:




All is well...no more problems.. just finish the installation and begin using Moodle...!

Getting Started (Installation) and Apache crash solved

I will be attempting to get Moodle up-and-running on a localhost (local computer acting as a server to a local network in my school). My pre...