Can there be two moodle folders in htdocs

Can there be two moodle folders in htdocs

by Ravi Limaye -
Number of replies: 8

I was trying to have two folders in htdocs for two seperate moodle courses, How to do this so that by localhost/one and localhost/two one can have two moodle applications?

Average of ratings: -
In reply to Ravi Limaye

Re: Can there be two moodle folders in htdocs

by Olja Petrovic -

I guess you have good reasons for wanting separate Moodles for two courses?

Are the two Moodles sharing the same db and moodledata? That might be strange and possibly cause problems. To have different courses on two Moodle they need separate databases and moodledata.

They would be just two different installations of Moodle, the fact that they are on the same machine makes no difference I guess.

If each Moodle has own db and moodledata then the two just ignore eachother without any problem, just have different config.php files and you're done.

Or am I missing something?

In reply to Olja Petrovic

Re: Can there be two moodle folders in htdocs

by Ravi Limaye -

Hi, If i create a folder called "one" and a folder called "two" in htdocs and unzip the moole folders in them  and can i have two different setups on the same server. I have two seperate databases one and two created in mysql (xampp pacakage) . SHould that work or i need to do something more? So that with http://localhost/one and http://localhost/two i open two different courses. the moodledata folder is outside htdocs and can there be more moodledata folders and have diffrent names?

In reply to Ravi Limaye

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Can there be two moodle folders in htdocs

by Ravi Limaye -

Hi Alan,

I have used xampp. in htdocs two folders named one and two? in phpmyadmin two databases one and two are also created. how to create seperate moodledata folders ?

Please guide.

Ravi

In reply to Ravi Limaye

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Can there be two moodle folders in htdocs

by Glenys Hanson -

Hi Ravi,

I have two Moodles running side by side on a local Xampp server: one Moodle 1.9.19 and one Moodle 2.3.4. I do it just as Alan explains. I need both because my online site is Moodle 1.9.19 but I want to have practiced with Moodle 2.3.4 to be ready to go as soon as it becomes possible for my online site to be updated.

On each Moodle site I have several different courses. Just checking you're not confusing Moodle sites and Moodle courses.

Cheers,

Glenys

 

In reply to Glenys Hanson

Re: Can there be two moodle folders in htdocs

by Ravi Limaye -

Hi Glenys,

I mean moodle sites only. Kindly reconfirm the steps:

1. database defined as say one and two

2. folders in htdocs one and two

3. moodledata folder is only one in xampp, at what stage is name of this folder defined?

Regards,

Ravi

In reply to Deleted user

Re: Can there be two moodle folders in htdocs

by Ravi Limaye -

Hi Alan,

Guruji is the word for teacher in India.

GURUJI

Thanks

I could do it the way you guided. Yipeebig grin