[horde] Tasks
Arjen de Korte
arjen+horde at de-korte.org
Sun Oct 22 17:19:46 UTC 2017
Citeren Louis-Philippe Allard <lp.allard.1 at gmail.com>:
> 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):
> =====================================
> 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
This looks a lot different from the output of pear config-show here.
Could it be you didn't upgrade pear itself and that you're running a
really outdated one?
pear info pear/pear
should show you which one is used. If the version is not 1.10.5, you
can upgrade it through
pear upgrade -c pear
This really should have been done before running
pear install horde/horde_role
pear run-scripts horde/horde_role
Also, is horde really living in /usr/share/pear/www/horde (horde_dir)?
I would expect this to be /var/www/html/horde instead, meaning that
you may have not run the horde_role script at all or entered the wrong
value. You may be able to correct this by running
pear config-set horde_dir /var/www/html/horde
This *may* fix things, but in my opinion the best cause of action when
a pear configuration is screwed, is to start over again.
> 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
More information about the horde
mailing list