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?
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?
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?
This forum post has been removed
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
This forum post has been removed
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
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
Hi Alan,
Guruji is the word for teacher in India.
GURUJI
Thanks
I could do it the way you guided. Yipee