Download Moodle: http://download.moodle.org/
Download WampServer: http://www.wampserver.com/en/ – 64 bit
Install WampServer
Installing WordPress on your computer gives you a perfect testing ground for experimentation, theme development, plug-in testing, and website development. This course is designed for Windows users who want to install and configure WordPress locally on a PC with WampServer 3, the open-source software stack that sets the stage for more serious WordPress development.
Change port (I needed to do this, because I was running IIS on 80):
- Left click on the WampServer icon tray, and go to Apache/httpd.conf.
- Search/Replace 80 to 90. Restart all services.
- In /wamp/wampmanager.ini, you can edit the menu options to change the port to 90 for items that you want access to. Search/replace all http://localhost to http://localhost:90.
- Also do this in wampmanager.tpl.
Unzip moodle download to /wamp/www (so /wamps/www/moodle)
Browse to http://localhost:90/ You should see something like this:
Click on the moodle project, and you should get this:
Choose your language and click Next to get:
If the paths are correct, click Next:
Since WampServer installed MySQL, simply click Next:
Note that the default username for mysql in WampServer is root, and the default password is empty. Choose these and use the defaults for the host, database name, and tables prefix. Then click next:
Click continue:
If you didn’t install php extensions, like I didn’t, then you get this:
These extensions are easy to install from the WampServer menu:
Go to PHP > PHP extensions. Check the name of each missing extension, 1 at a time. (It appears that WampServer will restart after each install). When you’re done, go back to your browser and click Reload at the very bottom of the page.
Hopefully, you see this at the bottom of your page:
Click Continue. The system will chug away for a while. Be patient. If all goes well, you’ll get another screen looking something like this:
Click Continue. On the next page you simply fill in information about the admin account.
After that you fill in other settings for your site. And TADA, you are done:
Considering that I have never used WampServer or Moodle before, the fact that I could install this in about an hour is pretty impressive to me.
Relevant/Related links:
Hello all,
I can access my WAMP server from another computer from LAN using my system's IP with default port 80.
However I couldn't access the projects (which I can access in local system without any problem) and phpmyadmin. I've placed my projects under traditional 'C:wamp64www' folder. I've configured virtual hosts file too. Please find below details.
I'm using,
Windows 7, 64 bit OS
WAMP 3.0.4 64 bit
Apache 2.4.18 - PHP 5.6.19 - MySQL 5.7.11
PHP 5.6.19 for CLI (Command-Line Interface)
And the configuration files are,
windows hosts file
C:WindowsSystem32driversetchosts
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
127.0.0.1 moodle
127.0.0.1 osticket
127.0.0.1 moodle_original
http-vhosts.conf file: C:wamp64binapacheapache2.4.18confextrahttpd-vhosts.conf
#
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory 'c:/wamp64/www/'>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
The below virtualhost entry has been deleted as per the suggestion of RiggsFolly in this post (http://forum.wampserver.com/read.php?2,143196). Previously I had the below virtual host entry for moodle project.
<VirtualHost *:80>
ServerName moodle
DocumentRoot c:/wamp64/www/moodle
<Directory 'c:/wamp64/www/moodle'>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
phpmyadmin configuration file: C:wamp64aliasphpmyadmin.conf
Alias /phpmyadmin 'c:/wamp64/apps/phpmyadmin4.5.5.1/'
<Directory 'c:/wamp64/apps/phpmyadmin4.5.5.1/'>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<ifDefine APACHE24>
Require local
</ifDefine>
<ifDefine !APACHE24>
Allow from all
# Deny from all
# Allow from localhost ::1 127.0.0.1
</ifDefine>
# To import big file you can increase values
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
How shall I proceed further.
Thank you.
I can access my WAMP server from another computer from LAN using my system's IP with default port 80.
However I couldn't access the projects (which I can access in local system without any problem) and phpmyadmin. I've placed my projects under traditional 'C:wamp64www' folder. I've configured virtual hosts file too. Please find below details.
I'm using,
Windows 7, 64 bit OS
WAMP 3.0.4 64 bit
Apache 2.4.18 - PHP 5.6.19 - MySQL 5.7.11
PHP 5.6.19 for CLI (Command-Line Interface)
And the configuration files are,
windows hosts file
C:WindowsSystem32driversetchosts
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
127.0.0.1 moodle
127.0.0.1 osticket
127.0.0.1 moodle_original
http-vhosts.conf file: C:wamp64binapacheapache2.4.18confextrahttpd-vhosts.conf
#
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory 'c:/wamp64/www/'>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
The below virtualhost entry has been deleted as per the suggestion of RiggsFolly in this post (http://forum.wampserver.com/read.php?2,143196). Previously I had the below virtual host entry for moodle project.
<VirtualHost *:80>
ServerName moodle
DocumentRoot c:/wamp64/www/moodle
<Directory 'c:/wamp64/www/moodle'>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
phpmyadmin configuration file: C:wamp64aliasphpmyadmin.conf
Alias /phpmyadmin 'c:/wamp64/apps/phpmyadmin4.5.5.1/'
<Directory 'c:/wamp64/apps/phpmyadmin4.5.5.1/'>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<ifDefine APACHE24>
Require local
</ifDefine>
<ifDefine !APACHE24>
Allow from all
# Deny from all
# Allow from localhost ::1 127.0.0.1
</ifDefine>
# To import big file you can increase values
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
How shall I proceed further.
Thank you.