Yes. A 413 error generally means that the server or an intermediate service is rejecting a request because its size exceeds the allowed limit.
Increasing PHP's upload_max_filesize doesn't necessarily fix it because other settings may also restrict the request.
I'd check these configurations:
upload_max_filesize – Maximum size of an individual uploaded file.
post_max_size – Maximum size of the entire POST request.
memory_limit – Available PHP memory.
max_execution_time – Maximum time PHP can run.
- Web server limits – Apache, Nginx or another proxy may have its own request-size restrictions.
If you're using Cloudflare or another reverse proxy, check whether it has an upload-size restriction that applies to your request.
Also, remember that post_max_size should generally be larger than upload_max_filesize.
If you're on shared hosting and cannot change the server-level configuration, contact your hosting provider.