how to have 2 separate galeries on the same server? how to have 2 separate galeries on the same server?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

how to have 2 separate galeries on the same server?

Started by cly, March 16, 2009, 01:16:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cly

Hello,
I would like to install 2 instances of coppermine on my server.

After a quick glance at the sources,  it seems that all I need is change TABLE_PREFIX so that I have 2 different sets of tables.
Yet, after a few greps I saw that not all SELECT use the very same prefixing rules, so I am worrying that this might not be supported.

So... is this the right way of doing what I want, or not?
Thanks.

Hein Traag

You can have two installations on one server. Just make you alter the db prefix in the installation steps of one of the two installations.

Nibbler

Or use 2 different databases. Either way, no source editing required.