CyberKeeda In Social Media

Owncloud : Unable to change Max Upload size




Increase File Upload Size from default admin pannel.

Go to File handling --  Change Upload size.


Chnage it's value from 2 to something as per your requirement.

Now save -- Login as a normal user after 5 Min and then check back again.
If all seems good then.. this tutorial is just got an ending for you.


If not, just dig into some files.

I have tried to change it from 2 to 8 MB , but even after saving it didn't went well.

Locate your  owncloud root folder, wherever you have kept it, i have my owncloud folder under /var/www/html/owncloud and open the file .htaccess

cybeerkeeda@Linux-Maniac:~ vim /var/www/html/owncloud/.htaccess
cybeerkeeda@Linux-Maniac:~ vim .htaccess
You must find the updated value within the two lines, if not change it do the desired value but remember both must be of same value ( like i have taken limit as 8 MB )

 php_value upload_max_filesize 8M
 php_value post_max_size 8M


Save and restart webserver 


cybecybeerkeeda@Linux-Maniac:~ service httpd restart
cyberkeeda@Linux-Maniac:~ systemctl restart httpd
Now, check again it should work.

Till now, if it's not working for you locate the default php.ini file , find and update the same value over there too.


cybeerkeeda@Linux-Maniac:~ locate php.ini
cybeerkeeda@Linux-Maniac:~ vim php.ini

upload_max_filesize = 8M

post_max_size = 8M


Restart your web server again and check, it must be working.

Now you can upload file size more then default value.

No comments:

Post a Comment

Designed By Jackuna