can we create multiple websites?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
sallam
Posts: 9
Joined: Sun 16. Nov 2003, 15:44

can we create multiple websites?

Post by sallam »

Hi

I've just come across this fascinating wcms. Before I start using it, I need to know: does this system allows me to create mutiple websites using one installation? I'm asking because I didnt find info about this in the docs.

I'm running a free web hosting service, and I'm looking for an easy to use content management system that allows me to create multiple websites using one installation to save web space.

If yes, kindly brief me on how to create mutiple websites using phpwcms.
Your help is much appreciated
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

phpwcms does not support multiple websites itself. You can install it multiple times on an hosting account (every installation will need 1.5MB). If you can use symbolic links it's possible to use only 1 installation.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
sallam
Posts: 9
Joined: Sun 16. Nov 2003, 15:44

Post by sallam »

thanks very much for taking the time to reply, you're so kind
what is symbolic links please?

I'ts wonderful that your system cccupies such a little space. But if one can create mutiple sites, it would be easier to upgrade to next versions and add modifications or templates as you know...
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Upgrading is very easy - there are not so many files that contains customized configs. And 2 of them "conf.template_default.inc.php" and "conf.pagelayout.inc.php" will also be tranferred into db in later release. Everytime you make an update safe complete "inc_conf" and "phpwcms_template" folder. (Better make full backup of complete installation) Then use your FTP client to update every new file - goes within some minutes if you have fast internet connection.

Symbolic links on Unix are something like "alias" on Mac. The systems sees it as real file or folder. That's why you can put folder and files at a central place on your webserver and then use symbolic links in web dir to links to this.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
adriano
Posts: 165
Joined: Sun 16. Nov 2003, 15:24
Location: Bremerhaven
Contact:

Post by adriano »

Will this require a separate mysql-db for each? How do we handle this in a single installation?
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Yes that is needed - every installation will need its own tables but you can use only 1 database because phpwcms can handle table prefixes (called db_prepend).

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
gRF
Posts: 5
Joined: Mon 17. Nov 2003, 09:38
Location: Singapore
Contact:

Post by gRF »

Hello,

kudos to Oliver for the great software ;)

I asume, having one installation of WCMS on the server, and symbolic links, I still need to have few files under webspace for each domain.
Which WCMS folders/files I *must* put under public_html, and which files I can have as single intallation?
Bolé - Bozidar Mladenovic
avant!s+associates | Singapore
bole@avantis.ms
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

You should have folders inc_conf and phpwcms_template on each site.

This is what can be put into shared web directory:
create "include" folder in any webspace -> symbolic links should be created for the following folders

Code: Select all

Sample:
img       -> ../mycentral_phpwcms/img

in folder include:
inc_act   -> ../../mycentral_phpwcms/include/inc_act
inc_css   -> ../../mycentral_phpwcms/include/inc_css
inc_ext   -> ../../mycentral_phpwcms/include/inc_ext
inc_front -> ../../mycentral_phpwcms/include/inc_front
inc_js    -> ../../mycentral_phpwcms/include/inc_js
inc_lang  -> ../../mycentral_phpwcms/include/inc_lang
inc_lib   -> ../../mycentral_phpwcms/include/inc_lib
inc_tmpl  -> ../../mycentral_phpwcms/include/inc_tmpl
This should it be!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
gRF
Posts: 5
Joined: Mon 17. Nov 2003, 09:38
Location: Singapore
Contact:

Post by gRF »

Danke schoen ! ;) That wa very fast.

I will try this and let you (and the rest of the guys here) know.
Bolé - Bozidar Mladenovic
avant!s+associates | Singapore
bole@avantis.ms
Post Reply