Installation of Moodle in windows

Installation of Moodle in windows

by m. Vikar -
Number of replies: 4

Team, 

 i had Downloaded MoodleWindowsInstaller-latest-29 177 MB after extracting it into d drive i started run moodle and it started running , after i had changed name to folder in which it was extracted and tried to run but it fails , moodle run.exe stop responding , 


kindly help 


note : I am installing Moodle for the first time, i have some technical understanding to computer programming 

Average of ratings: -
In reply to m. Vikar

Re: Installation of Moodle in windows

by Usman Asar -
Picture of Plugin developers Picture of Testers

You don't need to have programming skills to run moodle - First thing

Second, are you getting any specific message for you to come to conclusion that it fails? or that the computer is simply displaying "Moodle Fails"

Just for your info, run.exe doesnt do anything visually, it simply runs the applications required to run moodle (Apache, PHP and MySQL), you have to open your browser to actually run moodle, typing in localhost will start installation process, have you done so?

In reply to Usman Asar

Re: Installation of Moodle in windows

by m. Vikar -
Dear Usman 


i had started Moodle by using Chrome (localhost) it worked ok moodle started working , now one day later same method i am using .

1.runing moodle start.exe

2.using chrome ( localhost, http://127.0.0.1/


following errors are coming kindly help me 

Attachment 1st error.png
Attachment 2nd error.png
In reply to m. Vikar

Re: Installation of Moodle in windows

by Usman Asar -
Picture of Plugin developers Picture of Testers

Ok not to worry, in addition to what Emma mentioned deleting the "cache" folder - if that didnt work, as well delete the "localcache" folder too ---- this happens when cache's get corrupted, and deleting them and refreshing  the browser will re-create the two folders as well solving the issue.

additionally, Moodle runs based on its configuration file (config.php)

so whatever address you give into config files, Moodle will only be able to open using that, so if you open your config.php file, you'll see something like

$CFG->wwwroot   = 'localhost';
mentioned there.

in order to open the moodle using anything other than localhost, you have to change that address, so typing in http://127.0.0.1 will open moodle without any issues. but be aware, you wont be able to open moodle afterwards by typing http://localhost / localhost etc

In similar way, if you want to access moodle on local network, you'll be assigning that config.php file with address like http://192.168.1.20 (assuming this is IP of computer hosting moodle). this way typing that address on any computer will open that site, but again remember, now both localhost and 127.0.0.1 wont work (even on the computer where moodle is hosted), even on that computer you'll be typing http://192.168.1.20 to access moodle.