Uploading of large files fails

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. I choose a file
2. Uploading works as expected (upload bar indicates quick upload)
3. After uploading, the file is processed. This takes unusually long (for all file sizes clearly longer than the upload process), and for file larger than approx. 110 MBytes after half an hour or so the message "Upload failed" appears.

Expected behaviour
Processing should be faster, large files should be processed (it worked with files > 2GB)

Actual behaviour
Processing extremely slow, fails for files > 110 MB

Server configuration
Operating system: Windows 10, MacOS 10.6.8 (problem exists on every system)
Web server: 1&1 Apache
Database: 1&1 MySQL 5.1
PHP version: 5.6 and 7.0 (problem exists on both versions)
ownCloud version (see ownCloud admin page): 9.0.6
Updated from an older ownCloud or fresh install: update from 9.0.2
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): 1&1 SSL Certificate, .htaccess and php.ini set to:
upload_max_filesize=16G
post_max_size=16G
memory_limit=512M
max_input_time 50000
max_execution_time 50000

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

- core
	- EXTRA_FILE
		- phpinfo.php
		- php.ini
Raw output
==========
Array
(
    [core] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [phpinfo.php] => Array
                        (
                            [expected] => 
                            [current] => f4f54eadb7e63d9481cf5e9f490916511d4ae987f1e3f943a811feb2ec6a76a74dc21c037c1609dfd2b524225ebbd01ee276b8e8ffd82d4c165db92d3fd89ca9
                        )
                    [php.ini] => Array
                    (
                        [expected] => 
                        [current] => a1afc2d87067661e34049de8d5601bbb3f07cec4591f86ade352a7fe87738b577e400cc90666ea67977b569fbfd78549baeae5022ca13e16b90ae042fc207288
                    )

            )

    )
)

Good starting points are the search function of the forums or FAQs and documentations like [1], [2] and [3]. Such issues are mostly originating from environmental issues on webserver or PHP side. The resources linked are giving a good overview over possible issues.

[1] https://doc.owncloud.org/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html

[2]

[3]

https://github.com/owncloud/documentation/wiki/Uploading-files-up-to-16GB