[horde] Error with data_dir
Hanns Mattes
hanns at hannsmattes.de
Thu Feb 12 16:47:17 UTC 2015
Hi,
Zitat von Jan Schneider <jan at horde.org>:
> For some reason, your webserver either doesn't have access to that
> directory, or still uses a different PEAR configuration.
>
> Add a:
> var_dump($pear->get('data_dir'));
> at line 89 of Horde/Core/Db/Migration.php and you should see the
> path that's being used.
Ah, yes: Looking at the source code of the page I see
/usr/lib/php/pear, which ist obviously wrong and seems to be the
default. But I've got no idea, why this value is used
as root:
linux:/ # pear config-show | grep data_dir
PEAR data directory data_dir /usr/share/php5/PEAR/data
as Apapche-user:
linux: # sudo -u wwwrun pear config-show | grep data_dir
PEAR data directory data_dir /usr/share/php5/PEAR/data
per channel:
linux: # pear config-show -c horde | grep data_dir
PEAR data directory data_dir /usr/share/php5/PEAR/data
Regards Hanns
More information about the horde
mailing list