File size that is to be uploaded can be increased by three different ways.

  1. Go to php.ini file and change value of following variable.

 

        upload_max_filesize = 1040M 
2. by .httaccess file that is at root level  and insert this code

php_value upload_max_filesize 40M

  php_value post_max_size 42M 
3. You can use php ini function that is used 
ini_set('post_max_size', '64M');
ini_set('upload_max_filesize', '64M');

Leave a Reply

Your email address will not be published. Required fields are marked *