wp php.ini for file upload limit code example
Example: increase the 'post_max_size'
# php.ini
memory_limit=2048M
post_max_size=512M
upload_max_filesize=512M
# php.ini
memory_limit=2048M
post_max_size=512M
upload_max_filesize=512M