[horde] Pear Installer - runing horde Scripts Error
Michael M Slusarz
slusarz at horde.org
Thu Jun 13 16:32:26 UTC 2013
Quoting pillul at freenet.de:
> Hey mailing-list,
>
> i try to install the latest horde via pear.
>
> First i setup a fresh pear:
> mkdir pear
> mkdir mail
> pear6 config-create /root/path/to/htdocs/pear/
> /root/path/to/htdocs/pear/pear.conf
> pear6 -c /root/path/to/htdocs/pear/pear.conf config-set php_bin /usr/bin/php6
> pear6 -c pear/pear.conf install PEAR
> /root/path/to/htdocs/pear/pear/pear -c
> /root/path/to/htdocs/pear/pear.conf channel-discover pear.horde.org
> /root/path/to/htdocs/pear/pear/pear -c
> /root/path/to/htdocs/pear/pear.conf install horde/horde_role
> /root/path/to/htdocs/pear/pear/pear -c
> /root/path/to/htdocs/pear/pear.conf config-set horde_dir
> /root/path/to/htdocs/mail/
> /root/path/to/htdocs/pear/pear/pear -c
> /root/path/to/htdocs/pear/pear.conf run-scripts horde/horde_role
>
> when i start the horde_role scripts it loops me the following message:
>
> Warning: fgets() expects parameter 1 to be resource, string given in
> CLI.php on line 304
> * Enter an answer for #1: (Filesystem location for the base Horde
> application)
> Filesystem location for the base Horde application :
> Notice: Use of undefined constant STDIN - assumed 'STDIN' in CLI.php
> on line 304
You are almost certainly trying to run php from the command line using
the non-CLI version of PHP. STDIN isn't defined if using the CGI PHP
version.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list