multi-site hosting with phpWCMS

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
Charlie
Posts: 4
Joined: Sun 8. Feb 2004, 20:38

multi-site hosting with phpWCMS

Post by Charlie »

Hi,

before i start working with phpWCMS there is a big question:
is phpWCMS able to hold more than 1 site on a webserver?

Apache with "virtual host" is probably NOT the problem, but what about the database?

Best regards,

Charlie
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

well you can change the database prefix so you can have unlimted numbers of phpwcms installed :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
Charlie
Posts: 4
Joined: Sun 8. Feb 2004, 20:38

Post by Charlie »

frold wrote:well you can change the database prefix so you can have unlimted numbers of phpwcms installed :D
Is 1 mysql-database enough for this? (limitation of my hoster...)
Or 1 mysql-db per phpwcms?

Thanks!
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

you could do it the same way that is offered for multilingual sites...
http://www.phpwcms.de/forum/viewtopic.php?t=287

basically you make each site have it's own structure and use 'alias' to redirect people.

please note that any login can edit any structure so allowing clients login in would NOT be recomended - it's not recomened for any phpwcms at the moment.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Charlie wrote:
frold wrote:well you can change the database prefix so you can have unlimted numbers of phpwcms installed :D
Is 1 mysql-database enough for this? (limitation of my hoster...)
Or 1 mysql-db per phpwcms?

Thanks!
1 database is enough....
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

i see what frold means now and concur ;)
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

It's not really multi-domain based - so for every SITE you need an own installation - or good shared installation of phpwcms. But every site needs its own set of db tables - but can be stored in only 1 database. I tried to find information about the max tables per database in MySQL - seems that there is no limitation. Maybe your provider is able to set a limit. It's no real waste to have more tables: the smaller the table the faster the application. Use the db prefix to handle multiple installations.

Regards
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply