Welcome, Guest
Username: Password:

TOPIC: Possible to have two installations of LS with single database?

Possible to have two installations of LS with single database? 3 years 8 months ago #85558

  • nwinter
  • nwinter's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 4
  • Karma: 0
I have been doing some hacking away at the code to try my hand at developing some new features. I've done this on a separate installation from my "main"installation. But I would like to be able to try out my new features with my surveys from the "main"installation. (Without having to export and import.)

So, my question is, will I create problems if I have two installations running, both using the same database (and same tables within the database)?

I realize I'd have to be super-careful to update the installation on both at the same time, but beyond that would I be OK?
The administrator has disabled public write access.

Possible to have two installations of LS with single database? 3 years 8 months ago #85560

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1722
  • Thank you received: 426
  • Karma: 106
Hi,
there is no problem at all and several installations may share the same db...
The only thing is to have the correct db connection data in each config.php files...
- If both installs are in different subdomains (LS1.yourdomain.net & LS2.yourdomain.net), config.php files may be 100% similar
- If installs are located into 2 folders of a same domain (yourdomain.net/LS1 & yourdomain.net/LS2) you have to adapt the $rooturl of your second install

Ben/
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
The following user(s) said Thank You: nwinter
Moderators: ITEd
Time to create page: 0.243 seconds