How to increase your file upload limit

Written by Andrew on August 17th, 2010

Some customers have been reporting problems with uploading large files via the Admin upload form.

The bad news  is that this is a limitation from your hosting provider and not from PHP Melody; so we can’t do much about it.

The good news is that with a few changes you may be able to alter/overwrite your hosting’s php configuration.

Method 1: using php.ini

Create a new file called php.ini and place it in your PHP Melody’s installation folder. Add these lines to your php.ini:

post_max_size = 100M
upload_max_filesize = 100M

Method 2: using .htaccess

PHP Melody already comes with a .htaccess file so be careful not to remove anything when adding those two lines to your existing .htacces:

php_value post_max_size 100M
php_value upload_max_filesize 100M

In both examples you can change 100M to your desired value.

If none of these methods work, you may want  to contact your host and ask for these values to be increased.

Enjoy! 😉

Questions? Feel free to leave a comment.

FaceBook Comments


Related Posts