Apache/PHP on OpenSUSE 11.2

I have two problems with Apache/PHP on OpenSUSE 11.2 (fresh install):

  1. I get “Too many open files” errors after running apache for a little while (error log).

  2. Certain PHP applications (e.g. phpMyAdmin and roundcubemail) do not work because of timezone issues. The following errors are displayed:

  • It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting …
  • Timezone database is corrupt

I did not have these problems in 11.0 and the configuration of PHP and Apache is the same.

If more information (configuration files, etc.) is needed I will gladly provide it.

Thanks in advance.

  1. This is probably php 5.3 matter
    Try set up “date.timezone” in etc/php5/apache2/php.ini
    for example
    date.timezone = “UTC”