Increase file size upload limit using php.ini or htaccess

by Rekha 2010-09-01 10:36:31

Increase file size upload limit using php.ini

upload_max_filesize = 10M ;
post_max_size = 20M ;
memory_limit = 128M

Copy the above settings into your php.ini and put it in your web root directory.

Increasing file upload size by .htaccess


php_value upload_max_filesize 10M
php_value post_max_size 20M
php_value memory_limit 128M

Copy the above settings into your .htaccess file and put it in your web root directory.

Tagged in:

1697
like
1
dislike
0
mail
flag

You must LOGIN to add comments