[horde] Horde 5 install:Class 'Horde_Cli' not found

Jānis je at ktf.rtu.lv
Sat Dec 15 19:08:29 UTC 2012


Citējot Jānis <je at ktf.rtu.lv>
Sat, 15 Dec 2012 18:17:53 +0200:

> Citējot Michael M Slusarz <slusarz at horde.org>
> Thu, 13 Dec 2012 14:12:42 -0700:
>
>>> after I installed Horde 5 +some apps and tried to use  
>>> horde_translation (which did not work), i found in php_err.log  
>>> such message
>>>
>>> PHP Fatal error:  Class 'Horde_Cli' not found in  
>>> /usr/bin/horde-translation on line 1582
>>>
>>> the situation is aggravated by the fact that Horde_CLI v. 2.0.1 is  
>>> on the system.
>>
>> Most likely, the Horde PEAR install directory is not in your  
>> include_path.  You can check on the command line by issuing:
>>
>> php -i | fgrep include_path
>
> no that's not the case:
> include_path => .:/usr/lib64/php => .:/usr/lib64/php
>
> even tried to downgrade from php 5.4.7 to 5.3.18...

I solved the problem -

all was hidden within php compilation keys - as it cleared out, if one  
has apache 2.4, it is  absolutely important to have both php and  
modules compiled in the same manner - TS (thread safe) or not. In case  
of mix everything stays as cool as ice. As i did not find how to get  
modules compiled non-thread-safe, i had to add the config key to  
./configure:

--enable-maintainer-zts

and with that everything works.

Janis




More information about the horde mailing list