Maximum upload size for file is not working I have set file filed with 25MB Maximum upload size. But when i upload more then 25mb file it is uploading. How to stop this.Can we create any custom module for file size.
In Drupal 7 you can achieve by using .htaccess


In your .htaccess file:


php_value post_max_size 8M
php_value upload_max_filesize 8M


Check this link for more information