Known problems with PHP / webserver modules or configs


#1

This are the modules of PHP or webservers which are known to cause problems with ownCloud:

Apache Authentication

Description: https://httpd.apache.org/docs/2.2/howto/auth.html

with entries like:

in your vhosts file.

Apache with mod_php and enabled mod_spdy (SPDY) module

Running Apache with mod_spdy enabled could lead to various issues when using mod_php:

The following documentation shows how to switch to mod_fcgid:

mod_auth_apple on Mac OS X server

Description: https://support.apple.com/kb/PH9733

There is a module mod_auth_apple available on Mac OS X servers which is doing the Basic Auth like on an apache server. Disable this module.

eAccelerator PHP module

Description: http://eaccelerator.net/

How to disable it: (Thanks to RandolfCarter for this link)
http://linuxwindowsmaster.com/how-do-i-enabledisable-eaccelerator/

Instead of the settings like described in the linked article it is possible to disable the whole extension. Where this extension is loaded depends on the installation / system / used distro. This article describes how the extension is loaded:

On debian this .so file is loaded in /etc/php5/conf.d/ for example.

PHP OPcache configuration

When setting the PHP directive opcache.save-comments to 0 in your php.ini you need to set it to 1 again to avoid problems with the CSRF check / protection of ownCloud.

Source: https://forum.owncloud.org/viewtopic.php?f=26&t=21889&start=10#p62989

Webserver WebDAV modules

OwnCloud brings it’s own WebDAV PHP implementation (SabreDAV). Enabling the WebDAV module of your webserver can cause many problems with OwnCloud. This are the WebDAV modules of the most common webservers:

Apache

NginX

Lightttpd

IIS

On Mountain Lion

Webserver security modules

Some webserver security modules are also known to be problematic when running on your webserver:

mod_evasive
mod_security
libapache2-mod-php5filter installed instead of libapache2-mod-php5 (php5filter don’t pass all needed methods to PHP)

Other modules
mod_deflate (https://forum.owncloud.org/viewtopic.php?f=4&t=15604#p40211)
mod_pagespeed when having upgrade problems
mod_reqtimeout

Problematic server configurations

Some tutorials recommending adding the following lines for “security” or “performance” reasons to your /etc/apache2/conf.d/security on Ubuntu:

Header unset ETag
FileETag None

Those changes will break the ownCloud sync client and will cause an “The server did not provide an Etag” or “No E-Tag received from Server” error in the client. (Thanks to blitt001 for reporting this)

You need to remove those lines to be able to work with the sync client.


How to fix CalDAV|CardDAV|WebDAV problems
Calendar - cannot create or import calendars or events
#2