[horde] running horde-db-migrate for a virtual

Jan Schneider jan at horde.org
Mon Sep 19 15:54:28 UTC 2011


Zitat von LALOT Dominique <dom.lalot at gmail.com>:

> Hi,
>
> I am not sure, I've got a response for that. When using a virtual setup, how
> can we use horde-db-migrate without renaming conf.php which could be tricky
> in production, stopping several virtual when doing the migration.

If you have the $conf['server']['name'] setting still set to  
$_SERVER['SERVER_NAME'], you can pass set SERVER_NAME environment  
variable when calling the script.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list