Two Moodle version on the same server

Two Moodle version on the same server

by Angelica Romero -
Number of replies: 5
I'm pretty new using Moodle, but I have to administrate one, and the question is that if I can have two versions of moodle on the same server, because I have a old stable version installed but I want to make some tests with the newer version and have both on the same server, this is possible?.. mixed

Thanks ... smile
Average of ratings: -
In reply to Angelica Romero

Re: Two Moodle version on the same server

by xavier colomes -
Do you need to create a different Moodledata directory?
In reply to xavier colomes

Re: Two Moodle version on the same server

by Caroline Moore -
Hi Xavier,

Yes, you will need to create separate directories for the code and the data and a separate database for your Moodle tables. When you do the second Moodle install, you will be prompted to input the path to your data directory and the name and login info for your database.

~Caroline
In reply to Caroline Moore

Re: Two Moodle version on the same server

by xavier colomes -
Thank you very much Caroline smile i did it and everything worked nicely

I created different database as well, just in case. Future readers of this post, take this in mind too

Best regards
In reply to xavier colomes

Re: Two Moodle version on the same server

by Timothy Takemoto -
Should you have a limited number of databases available on your sever, then it is possible to use a different prefix for each moodle installation, using the same database. The prefix can be in set in config.php.