Technical insights and software architecture

Deep dives into PHP development, Horde Framework evolution and practical software engineering. Focused on real-world solutions for complex technical challenges. “Always close to the source”.

Core Topics

PHP, Horde Framework, authentication systems, composer workflows and modern development practices.

Long-form Analysis

Comprehensive technical articles exploring architectural decisions, migration strategies and lessons learned from real projects.

Code & Community

Open source contributions, framework development and sharing knowledge with the PHP developer community.

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


Comments

5 responses to “Making horde3 run on php5.3 + (openSUSE 11.3+)”

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

  2. Arnold Krüger Avatar
    Arnold Krüger

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

  3. Ralf Lang Avatar
    Ralf Lang

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

  4. 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.

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

Leave a Reply to Donata Cancel reply

Your email address will not be published. Required fields are marked *