External configuration

Hello!
I need a project to run two instances on the same server.
Each instance should connect to its own database, on a particular port, and with a different theme.
Can I lift those settings from an external file?
Where in the project should I configure?
Thank you very much!

It depends on how you have build things. You can upload the application twice on two different directories. Then they both will have their own configuration. Other option is that you have one source, but change connection in the code using macro’s. Depending on what you have done, you can use a different connectionid or create your own within the code.

Alternatively you can configure your apache conf files so that certain apps only start under a subdir and others start under another subdir. For that you can use multiple listen statements. Check out the pages on apache 2.4 for more details.

Thanks!!! I try the macro option…