[horde] Error with data_dir

Jan Schneider jan at horde.org
Fri Feb 13 10:05:51 UTC 2015


Zitat von Patrick De Zordo <patrick at spamreducer.eu>:

>> > I've checked this also on one of our servers, same issue.
>> >
>> > root at mail02:/# pear config-show | grep data_dir
>> > PEAR data directory            data_dir         /usr/share/php/data
>> >
>> > root at mail02:/# sudo -u www-data pear config-show | grep data_dir
>> > PEAR data directory            data_dir         /usr/share/php/data
>> >
>> > root at mail02:/# pear config-show -c horde | grep data_dir
>> > PEAR data directory            data_dir         /usr/share/php/data
>> >
>> > var_dump($pear->get('data_dir'));
>> > gives me "/usr/share/php/data"
>> >
>> > root at mail02:/# ls -l /usr/share/php/data/ drwxr-xr-x 2 root root 4096
>> > Feb 10 19:01 PEAR drwxr-xr-x 3 root root 4096 Feb 10 19:19
>> > XML_Serializer
>> >
>> > Do you need write access to the PEAR dir?
>>
>> No, but you need to have Horde actually installed there. Which you don't.
>
> Well, I am installing Horde from GIT.. And I have installed it into another
> folder "/opt/horde/..".
> Till now there was no problem with this path..
> Should I install horde to /usr/share/php/data ?
>
> Thank you!

No, in this case it's using a completely different code path, and your  
observations have nothing to do with the OP.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list