[horde] Tasks

Louis-Philippe Allard lp.allard.1 at gmail.com
Sun Oct 22 17:11:13 UTC 2017


  Quoting Ralf Lang <lang at b1-systems.de>:

> It's quite common web pear and cli pear don't have the dame config
>
>
>
>> OK I looked at the paths.  First of all, I installed Horde using the
>> procedure explained at Section 3.1 (Installing with PEAR) available at
>>
>> https://www.horde.org/apps/webmail/docs/INSTALL#installing-with-pear
>>
>> Then running phpinfo(); from the webinterface and looking at the
>> include_path shows:
>>
>> /var/www/html/horde/lib:.:/usr/share/pear:/usr/share/php
>>
>> However running "pear config-show" from CLI yields (showing only
>> paths, **not** all entries):
>>
>> Configuration (channel pear.php.net[1]):
>>
>> -------------------------
>>
>> PEAR documentation directory   doc_dir          /usr/share/doc/pear
>> PHP extension directory        ext_dir          /usr/lib64/php/modules
>> Base Horde directory           horde_dir        /usr/share/pear/www/horde
>> PEAR directory                 php_dir          /usr/share/php
>> PEAR Installer cache directory cache_dir        /var/cache/php-pear
>> PEAR configuration file        cfg_dir          /etc/pear
>> directory
>> PEAR data directory            data_dir         /usr/share/pear-data
>> PEAR Installer download        download_dir     /tmp/pear/download
>> directory
>> Systems manpage files          man_dir          /usr/share/man
>> directory
>> PEAR metadata directory        metadata_dir     /var/lib/pear
>> PHP CLI/CGI binary             php_bin          /usr/bin/php
>> PEAR Installer temp directory  temp_dir         /var/tmp
>> PEAR test directory            test_dir         /usr/share/tests/pear
>> PEAR www files directory       www_dir          /var/www/html
>> Signature Handling Program     sig_bin          /usr/bin/gpg
>> Signature Key Directory        sig_keydir       /etc/pearkeys
>> User Configuration File        Filename         /root/.pearrc
>> System Configuration File      Filename         /etc/pear.conf
>>
>> Im */*really** not in my field of expertise here but can I conclude
>> that there is a mismatch in paths?  Shouldnt the paths found by
>> phpinfo() in horde point to identical paths in pear show-config?
>> Louis-Philippe Allard
>> lp.allard.1 at gmail.com
>> Sent using Horde Groupware on GNU/Linux
>
> --
> Ralf Lang
> lang at b1-systems.de

Hello Ralf,  im not an expert at this, but how cvan this work if they  
have different configs and paths?  Wouldnt I end up with what's  
happening on my VPS now (i.e. Horde sees different stuff than what  
pear sees)?



Links:
------
[1] http://pear.php.net
  Louis-Philippe Allard
lp.allard.1 at gmail.com
Sent using Horde Groupware on GNU/Linux


More information about the horde mailing list