[horde] Horde4 Centos6

Luis Felipe Marzagao lfbm.andamentos at gmail.com
Fri Apr 20 21:25:22 UTC 2012


The best howto, for me, is the one inside /horde/docs/INSTALL. Check it on
github.
Em 20/04/2012 09:05, "Andreas Mauser" <andreas at mauser.info> escreveu:

> Hi,
>
> new CentOS webserver installed, postfix and dovecot functional.
>
> What is the best Installation HowTo for CentOS/RHEL6?
> I found several, all are slightly different.
>
> Andreas
>
> ----- Nachricht von Vilius ?umskas <vilius at lnk.lt> ---------
>  Datum: Wed, 18 Apr 2012 14:36:24 +0300
>    Von: Vilius ?umskas <vilius at lnk.lt>
> Betreff: Re: [horde] Horde4 Centos6
>     An: horde at lists.horde.org
>
>
>  >> >> since I now test with a CentOS6 installation I have a question.
>>> >> >>
>>> >> >> After installing pecl modules, and some more dependencies I found
>>> on
>>> >> >> horde.org from:
>>> >> >>
>>> >> >> http://wiki.horde.org/**CentOS5InstallationNotes<http://wiki.horde.org/CentOS5InstallationNotes>
>>> >> >> http://www.horde.org/apps/**horde/docs/INSTALL<http://www.horde.org/apps/horde/docs/INSTALL>
>>> >> >>
>>> >> >> I get the following error message in the logs when accessing the
>>> new
>>> >> >> Horde4 installation:
>>> >> >>
>>> >> >> [Wed Apr 18 12:19:14 2012] [error] [client 192.168.24.27] PHP
>>> Warning:
>>> >> >>   require_once(Horde/Autoloader/**Default.php): failed to open
>>> stream:
>>> >> >> No such file or directory in
>>> >> >> /var/www/html/mauser.info/**mailoffice/lib/core.php<http://mauser.info/mailoffice/lib/core.php>on line 47
>>> >> >> [Wed Apr 18 12:19:14 2012] [error] [client 192.168.24.27] PHP Fatal
>>> >> >> error:  require_once(): Failed opening required
>>> >> >> 'Horde/Autoloader/Default.php'
>>> >> >>
>>> >>
>>> (include_path='/var/www/html/m**auser.info/mailoffice/lib:.:/**
>>> usr/share/pea <http://mauser.info/mailoffice/lib:.:/usr/share/pea>
>>> >> >> r:/usr/share/php') in
>>> >> /var/www/html/mauser.info/**mailoffice/lib/core.php<http://mauser.info/mailoffice/lib/core.php>
>>> >> >> on line
>>> >> >> 47
>>> >> >
>>> >> > And does't Horde/Autoloader/Default.php exist in one of these paths?
>>> >> > If not, you didn't install it correctly.
>>> >>
>>> >> Yes, the file exists in:
>>> >>
>>> >>
>>> /var/www/html/mauser.info/**mailoffice/pear/php/Horde/**Autoloader/Defau<http://mauser.info/mailoffice/pear/php/Horde/Autoloader/Defau>
>>> >> lt.php
>>> >
>>> > There is no such path in your include_path for PHP.
>>>
>>> But I set the path in the htaccess-file:
>>>
>>> cat mauser.info/mailoffice/.**htaccess<http://mauser.info/mailoffice/.htaccess>
>>> allow from all
>>>
>>> <IfModule mod_rewrite.c>
>>>     RewriteEngine On
>>>     RewriteCond   %{REQUEST_FILENAME}  !-d
>>>     RewriteCond   %{REQUEST_FILENAME}  !-f
>>>     RewriteRule ^(.*)$ rampage.php [QSA,L]
>>> </IfModule>
>>>
>>> php_value include_path /var/www/html/mauser.info/**mailoffice/pear/php<http://mauser.info/mailoffice/pear/php>
>>> SetEnv PHP_PEAR_SYSCONF_DIR /var/www/html/mauser.info/**mailoffice<http://mauser.info/mailoffice>
>>>
>>> Whats wrong?
>>>
>>
>> I don't know. Given that you followed 3rd party installation
>> documentation you should ask them.
>>
>>  >> >> When I browse to the page I get a blank page.
>>> >> >>
>>> >> >> I found a thread where it says to create a phpinfo.php file:
>>> >> >>
>>> >> >> http://lists.horde.org/**archives/horde/Week-of-Mon-<http://lists.horde.org/archives/horde/Week-of-Mon->
>>> >> 20110425/040563.html
>>> >> >>
>>> >> >> But also I get a blank page when accessing this file.
>>> >> >>
>>> >> >> I installed Horde in a separate Pear as shown here:
>>> >> >>
>>> >> >> http://www.bsntech.com/**bsntech-blog-mainmenu-321/**computers-<http://www.bsntech.com/bsntech-blog-mainmenu-321/computers->
>>> >> >> mainmenu-281/6121-installing-**horde-4-webmail-in-linux.html
>>> >> >
>>> >> > Why do you insist installing Horde into separate PEAR? It is for
>>> >> > particular rare cases only.
>>> >>
>>> >> I understand it so that if I upgrade the System and I had installed
>>> >> Horde into separate Pear then the System upgrade does not affect the
>>> >> Horde installation.
>>> >>
>>> >> What do you suggest? I am open for suggestions.
>>> >
>>> > What do you mean by "upgrade the System"? Do you mean OS or global
>>> PEAR?
>>> >
>>> > Horde uses separate PEAR channel anyway, so the only minor thing
>>> > that can affect you during system upgrade would be upgrade of global
>>> > PEAR package which is used by Horde *and* Horde will be incompatible
>>> > with newer global PEAR package version. For example Net_SMTP of PEAR
>>> > could be such one package. However this possibility is so low that
>>> > it doesn't worth all the separate PEAR install work.
>>> >
>>> > Most often separate PEAR installation is used when you don't have
>>> > root access. Assuming that you can modify cronjobs on the machine I
>>> > would suggest normal install.
>>>
>>> Ok, in case you can not help with the path problem above, how can I
>>> get rid of the separate pear installation completely?
>>>
>>
>> Just delete the folder where you have installed it.
>>
>> --
>>   Vilius
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.**org<horde-unsubscribe at lists.horde.org>
>>
>
>
> ----- Ende der Nachricht von Vilius ?umskas <vilius at lnk.lt> -----
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.**org<horde-unsubscribe at lists.horde.org>
>


More information about the horde mailing list