You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify memory_limit and upload_max_filesize directives in your php.ini.
If you see the exact error message "File size exceeds server limit (2M)", this is usually related to php.ini configuration. The 2M is the default value for post_max_size and upload_max_filesize.
To debug if php.ini is set properly, you can use the following line somewhere in your view or controller: