[Tickets #10758] Re: horde-db-migrate and virtual

bugs at horde.org bugs at horde.org
Mon Nov 14 15:51:26 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10758
------------------------------------------------------------------------------
  Ticket             | 10758
  Updated By         | dom.lalot at gmail.com
  Summary            | horde-db-migrate and virtual
  Queue              | Horde Base
  Version            | 4.0.11
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


dom.lalot at gmail.com (2011-11-14 15:51) wrote:

> Sounds like there is something wrong with your PHP. Try this on the  
> command line:
>
> SERVER_NAME=etumeltest.univmed.fr php -r 'echo $_SERVER["SERVER_NAME"];'
>
> This should output "etumeltest.univmed.fr".

root at horde4:~# SERVER_NAME=etumeltest.univmed.fr php -r 'echo  
$_SERVER["SERVER_NAME"];'
etumeltest.univmed.frroot at horde4:~#

seems OK in php

root at horde4:/var/www/horde/config# php5 -v
PHP 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:09:42)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
     with XCache v1.3.2, Copyright (c) 2005-2011, by mOo

And conf-etumeltest.univmed.fr.php contains a different database:

$conf['sql']['socket'] = '/var/run/mysqld/mysqld.sock';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'hordeetud';
$conf['sql']['charset'] = 'iso-8859-1';






More information about the bugs mailing list