Increasing Maximum Upload size in Owncloud

Since using Owncloud I have noticed that a 512MB upload limit just isn’t enough!

In fact changing the upload size is incredibly easy! Here is how to do it;

-SSH to your Owncloud server

-Edit into your htaccess file by typing

nano /var/www/owncloud/.htaccess

-You’ll see the following lines which you’ll want to edit the values to whichever size is required

php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 512M

-Ctrl-X out of nano and press ‘Y’ to save

-Now type service apache2 graceful 

-Refresh your Owncloud install and your upload limit should have updated