Installing Moodle without conflict with Wordpress

Installing Moodle without conflict with Wordpress

by Michel Gervais -
Number of replies: 2

Greetings everyone,


I have installed Wordpress a month ago using the WAMP server package. I would now like to know the procedure to install Moodle "localhost" while making sure it doesn't conflict with my actual WAMP configuration and Wordpress install.


Any tips for me please?


Million thanks


Mike 

Average of ratings: -
In reply to Michel Gervais

Re: Installing Moodle without conflict with Wordpress

by Jamie Kramer -

Hi Mike,

Does your Wordpress site run at a URL like one of these?

  • http://localhost
  • Or http://localhost/wordpress

You could simply drop Moodle in as a sub-directory of one of those, so Moodle URL might be like:

  • http://localhost/moodle
  • OR http://localhost/moodle/wordpress

Alternatively, you could set a new vhost configuration in your WAMP Apache configuration. This resource seems to offer guidance: https://john-dugan.com/wamp-vhost-setup/

By setting up a separate vhost, your Moodle site could then run at a local test domain of your choosing:

  • http://moodle.localhost
  • OR http://moodle.local
  • etc, whatever you choose. The instructions in the link above talk about adding a hosts override so that whatever vhost domain you choose, your computer will "know" to point to localhost for that domain, otherwise it won't know about a made-up domain name.

Once you have decided on whether you want to use a new vhost or just a sub-directory of wordpress, you would go through the standard Moodle setup:

  • create separate database for Moodle in WAMP
  • Set up config.php
    • be sure to set wwwroot to reflect your subdirectory or vhost domain

I think that Wordpress will still work ok with Moodle as a sub-directory/folder inside of it. This may be easier than going through the process of adding a new custom vhost in WAMP.


Average of ratings: Useful (1)
In reply to Michel Gervais

Re: Installing Moodle without conflict with Wordpress

by Ambrish Tiwari -

Hi Michel

How to install Wamp server and config with moodle . Please follow this video.