Problem
My programmer has this error while uploading file in wordpress
Solution
Find php.ini file location
Change this value inside in php.ini
post_max_size = 13M
memory_limit = 15M
Or add this code to first line of .htaccess file (is located in WordPress installation directory)
php_value post_max_size 13M
php_value memory_limit 15M
Note:
Change the file size with your case study
Reference
https://stackoverflow.com/questions/8684609/where-can-i-find-php-ini
https://kinsta.com/knowledgebase/the-uploaded-file-exceeds-the-upload_max_filesize-directive-in-php-ini/