[horde] Installing horde without access to pear/php cli

Jan Schneider jan at horde.org
Fri Apr 20 12:17:44 UTC 2012


Please keep discussions on the list.

Zitat von Johan Sandblom <js at ndblom.se>:

> Jan Schneider <jan at horde.org> writes:
>
>> Zitat von Johan Sandblom <js at ndblom.se>:
>>
>>> Hi. I am attempting to install horde on a webhost where SSH access is
>>> granted, but curiously PHP CLI access is not. Getting pear to install
>>> was possible with some editing of files suggested by the PEAR mailing
>>> list. After that, installing horde/horde-role in the PEAR web interface
>>> was easy. However, the next step, running the post-install script
>>>
>>> pear/PEAR/PEAR/Installer/Role/Horde/Role.php
>>>
>>> is impossible without access to PHP on the command line. Looking at the
>>> script it does not look like it does an inordinate amount of work, but
>>> it is beyond me to figure out exactly what. Is it possible to edit the
>>> appropriate configuration files manually, to achieve what the
>>> post-install script does? If so, which are the appropriate files, and
>>> what needs to be done?
>>
>> I don't know which files exactly you need to edit, but what the script
>> does is to set the 'horde_dir' configuration variable for the
>> pear.horde.org' channel in the 'user' configuration. This should
>> theoretically also be possible through the PEAR web interface.
>
> Yes, setting the directory was possible in the PEAR web
> interface. I successfully installed horde/horde in
> .../public_html/horde (or at least without error message). However,
> pointing my browser to that address yields:
>
> Warning: require_once(Horde/Autoloader/Default.php)
> [function.require-once]: failed to open stream: No such file or
> directory in
> /.../public_html/horde/lib/core.php on
> line 47
>
> Fatal error: require_once() [function.require]: Failed opening required
> 'Horde/Autoloader/Default.php'
> (include_path='/storage/content/86/148886/ndblom.se/public_html/horde/lib:.:/usr/lib64/php')
> in /.../public_html/horde/lib/core.php
> on line 47
>
> Any clues?

Your include_path is incorrect. It doesn't point to your PEAR directory.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/




More information about the horde mailing list