Jumat, 30 Januari 2015

Edit size upload owncloud

Owncloud : The files you are trying to upload exceed the maximum size for file uploads on this server.

max_file_size owncloud
“Upload too large : The files you are trying to upload exceed the maximum size for file uploads on this server.”. After installing owncloud, this type of error can happen, depending on the type of files you uploaded,more or less voluminous they are.
Here’s how to solve the problem MAX_FILE_SIZE (really be on the safety of its server before changing its values) :

# vim /etc/php.ini
// modify following values
upload_max_filesize = 2000M
post_max_size = 2000M
Then edit the .htaccess, Which is in the Owncloud root directory:
# vim /var/www/html/owncloud/.htaccess
// modify following values :
php_value upload_max_filesize 2000M
php_value post_max_size 2000M
php_value memory_limit 512M
Then, restart apache :
# service httpd restart
Upload Max Owncloud
If you have any remarks / questions, don’t hesitate :)

Tidak ada komentar:

Posting Komentar