This topic is locked

Development vs Production

3/7/2006 8:47:13 AM
PHPRunner General questions
C
carlosxl5 author

I'm posting this here to see if anybody has resolved this before logging a feature request.
I work with two environments, a development and production. Once I've built a project and tested it I publish it to my production environment. The production and development environments are on different systems, with different database names and different users, so all the connection information is different.
But each project only has one set of connection information (held in dbcommon.php). Which means that after publication the application in production does not work.
My _workaround_is to keep a dbcommon.php file for the production system, which I manually edited, and has the right connection information, and FTP that over the generated file. But this is annoying and error prone so I'm looking for a better way.
The ideal solution would be for PHPRunner to recognise multiple environments, and allow you to publish to the one you wanted. Any other suggestions out there?

Sergey Kornilov admin 3/7/2006

Carlos,
thank you for your suggestion.

Please note that there is a lot of important information in dbconnection.php besides connection information. Therefore you need to change this file manually after every time when you rebuild your pages.