Option 1 :
You need to set the value of upload_max_filesize and post_max_size in your php.ini :
; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size = 40M
After modifying php.ini file(s), you need to restart your HTTP server to use new configuration.
OR
Option 2 :
You can change it via an .htaccess file.
.htaccess files are present in the root folder of your project . htaccess modify configuration for that folder and all sub-folders.
php_value upload_max_filesize 40M
php_value post_max_size 42M
0 Comment(s)