30 Jan

Making horde3 run on php5.3 + (openSUSE 11.3+)

Horde3 has been designed to work with PHP 4 and aims to stay compatible till end of life. That is why some parts of Horde3 still rely on features or behaviour which is not default anymore in PHP5. It it still possible to make horde3 run on PHP5.3 as shipped by OpenSUSE 11.3 and factory:

in php.ini, please make sure that date.timezone has been set to any valid value:

linux-aggv:/srv/www/htdocs/horde # cat /etc/php5/apache2/php.ini |grep date.timezone
; http://php.net/date.timezone
date.timezone = Europe/Berlin

Please also make sure that your error log doesn’t get spammed by deprecated warnings:

cat /etc/php5/apache2/php.ini |grep E_DEPRECATED
; Production Value: E_ALL & ~E_DEPRECATED
; E_DEPRECATED – warn about code that will not work in future versions
; Production Value: E_ALL & ~E_DEPRECATED
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

This should enable Horde3 to run on your bleeding edge openSUSE platform. Horde 4, scheduled April 5 2010, has been designed for PHP 5.x and won’t have any limitations.

If you are experiencing additional troubles, please check the „classics“:

* The Horde Cookie Path must be set to your webroot in /srv/www/htdocs/horde3/config/conf.php

* Do not turn on PHP safe mode (it isn’t actually „safe“ anyway and about to be removed)

This article assumes that you are running the openSUSE Horde3 packages from factory or server:php:applications

Donata sagt:

Hallo in Internet Explorer 7 sieht dein Seiten Design irgendwie kaputt aus.

Arnold Krüger sagt:

Great. Just what I was looking for. When will horde 4 be in OpenSusw?

Ralf Lang sagt:

Hallo Donata, bei mir aber nicht. Was ist denn kaputt?

I am sorry for posting an irrelevant comment, however I visit your blog often and wanted to send you an idea. Your site does not have a privacy policy which is important to let your visitors know that their personal data is safe when they are reading your blog.

Ralf Lang sagt:

Hallo Arnold, Horde4 wird wahrscheinlich erst in OpenSUSE 12 erscheinen, weil der openSUSE-Releasetermin für 11.4 etwas zu früh ist.