nasıl php kod aynı kopyasını kullanarak birden fazla hosting hesaplarını yapmak

0 Cevap php

We have a web app built on codeigniter. We have a VPS, with different accounts on it. I was wondering how can we setup in a way that there will be only one copy of the php code for all accounts. each account will have a different domain name, and each account will have their own mysql database.

Therefor: code sits on a folder on the server called mycode. example1.com has it's own db but runs the code sitting on mycode. example2.com has it's own db but runs the code sitting on mycode.

the vps server has a WHM for the hosting manager, and all other accounts will have their own cpanel: example1.com/cpanel...

, teşekkürler

0 Cevap