[horde] Horde 4.0-ALPHA1

Jan Schneider jan at horde.org
Fri Mar 11 13:31:50 UTC 2011


Zitat von lst_hoe02 at kwsoft.de:

> Zitat von Jan Schneider <jan at horde.org>:
>
>> Zitat von lst_hoe02 at kwsoft.de:
>>
>>> Zitat von Jan Schneider <jan at horde.org>:
>>>
>>>> After more than two years of development, the Horde Team is   
>>>> pleased  to announce
>>>> the first alpha release of the Horde Application Framework version 4.0.
>>>>
>>>> The Horde Application Framework is a flexible, modular,  
>>>> general-purpose web
>>>> application framework written in PHP. It provides an extensive array of
>>>> components that are targeted at the common problems and tasks involved in
>>>> developing modern web applications. It is the basis for a large number of
>>>> production-level web applications, notably the Horde Groupware    
>>>> suites. For more
>>>> information on Horde or the Horde Groupware suites, visit    
>>>> http://www.horde.org.
>>>>
>>>> IMPORTANT! This is a preview version that should not be used on production
>>>> systems. This version is considered feature complete but there  
>>>> are   likely to be
>>>> bugs. You should not use this preview version with existing production
>>>> data. Migration of data from earlier versions has not been fully   
>>>>  tested yet and
>>>> is not supported.
>>>>
>>>> We encourage widespread testing and feedback via the mailing  
>>>> lists  or our bug
>>>> tracking system. Updated translations are very welcome, though  
>>>> some strings
>>>> might still change before the release candidates are prepared.
>>>>
>>>> The installation method for Horde 4 has been changed to use the PEAR
>>>> installer. To prepare your local PEAR installation to install  
>>>> software from
>>>> Horde's PEAR server, run the following commands from the command line:
>>>>
>>>> pear channel-discover pear.horde.org
>>>> pear install horde/horde_role-alpha
>>>> pear run-scripts horde/horde_role
>>>>
>>>> The last command will ask you for the filessystem location for your Horde
>>>> installation. This should be some path in your web server's document root,
>>>> e.g. /var/www/horde. These commands only need to be run once. You are now
>>>> prepared to install, upgrade and uninstall Horde packages. To    
>>>> install the alpha
>>>> release of Horde, run the following commands:
>>>>
>>>> pear install horde/horde-alpha
>>>>
>>>> Just go to the config/ directory of your Horde installation and copy
>>>> conf.php.dist to conf.php:
>>>>
>>>> cd /var/www/horde/config/
>>>> cp conf.php.dist conf.php
>>>>
>>>> Then point your browser to the installation location, go to the
>>>> Administration/Configuration screen and start configuring. You   
>>>> probably want
>>>> to:
>>>>
>>>> 1. Configure a real authentication backend!
>>>> 2. Configure a database backend (Horde configuration, Database tab)
>>>> 3. Install the database tables ("Update all DB schemas" button)
>>>> 4. Configure any other applications you installed
>>>
>>> Get it up and running quickly, but after changing the   
>>> authentication  backend i get for IMAP for example:
>>>
>>> Fatal error: Class 'Horde_Imap_Client' not found in    
>>> /usr/share/php/Horde/Auth/Imap.php on line 173
>>>
>>> LDAP authentication does not work either.
>>>
>>> Any hints what went wrong? The test.php show all required as green  
>>>  and  without authentication set all is well.
>>
>> You installed Horde with mandatory dependencies only. Either  
>> install  it with the -a flag, to install optional dependencies too,  
>> or  install the packages you need manually, i.e.
>>
>> pear install horde/horde_imap_client-alpha horde/horde_ldap
>>
>> Jan.
>
> Is it possible to easily find out what is needed additionally to the  
>  mandatory packges? If not the "-a" should be the recommended  
> default,  no?

It's not that easy unfortunately, because this would also pull in  
optional PECL dependencies. Those will try to build PHP extensions,  
but whether a build environment is avaible or the user has permissions  
to install extensions at all is not being checked by the PEAR  
installer. It will simply fail in those case.

Like Gunnar said, we still need to figure out how to solve those issues.
Maybe PEAR "features" are a solution. Those allow to run something  
like "pear install horde/horde#ldap" and could pull in ldap  
dependencies. But it's hard to imagine such "features" for any  
possible situation. Unfortunately you can't combine them.
Any other ideas are welcome.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list