Code Snippet

Just another Code Snippet site

[Owncloud] Change max upload size

/etc/apache2/site-enabled/owncloud.conf

    DocumentRoot /var/www/owncloud
    <Directory /var/www/owncloud/>
    Options FollowSymLinks
    AllowOverride All

/etc/apache2/mods-enabled/reqtimeout.conf

    RequestReadTimeout header=0
    RequestReadTimeout body=0

/etc/apache2/apache2.conf

    Timeout 3600
    KeepAliveTimeout 50

/etc/php5/apache2/php.ini

    upload_tmp_dir = /.../owncloud/data/upload-tmp
    post_max_size = 50G
    upload_max_filesize = 25G
    max_file_uploads = 200
    max_input_time = 3600
    max_execution_time = 3600
    session.gc_maxlifetime = 3600
    memory_limit = 512M


Comments are currently closed.