Multiple instances of openemr

gutiersa wrote on Wednesday, April 23, 2008:

Because I’m still having data migration issues with sql ledger, I set up a temporary instance of openemr for testing purposes. I named it openemrtemp, and installed it along side my production openemr. However, I kept one sql-ledger installation and created a dataset openemrtemp with user “my-openemrtemp-user” and password “my-openemrtemp-password”

I edited globals.php as follows:

$sl_dbname      = ‘openemrtemp’;
$sl_dbuser      = ‘my-sql-ledger-user’;
$sl_dbpass      = ‘my-sql-ledger-password’;

I edited config.php as follows:

$GLOBALS[‘oer_config’][‘freeb’][‘claim_file_dir’]     = “/usr/share/freeb/publictemp/”;

$GLOBALS[‘oer_config’][‘ws_accounting’][‘url’] = “/sql-ledger/ws_server.pl”;     //this line unchanged
$GLOBALS[‘oer_config’][‘ws_accounting’][‘username’] = “my-openemrtemp-user”;
$GLOBALS[‘oer_config’][‘ws_accounting’][‘password’] = “my-openemrtemp-password”;
$GLOBALS[‘oer_config’][‘ws_accounting’][‘url_path’] = “http://” .
  $_SERVER[“SERVER_NAME”] . “/sql-ledger/login.pl”;      //this line unchanged

But when I try to save pt demographic data, instead of the customer being created to the openemrtemp dataset in sql-ledger, it gets recreated into my regular production openemr dataset.

What am I missing? Do I have to create different instances of ws_server.pl within the sql-ledger installation folder, for each instance of openemr?