-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Got Request Entity Too Large when uploading file more than 128mb #248
Comments
Happening here too. I thought this would be some kind of legacy issue from Valet so I did a --force uninstall on Valet, restarted my mac but nothing here. I've confirmed in phpinfo() that the php.ini being used is the herd one and I've set the file upload to 1gb which should be easily enough for the files I'm working with. |
@handhikadj Has this been fixed in a new version? |
Wait OP closed this one without a fix? I am having this issue too. Fresh Herd Install to try and resolve but still no fix.
My php.ini (the one Herd uses)
But still reads as 128M in phpinfo and can't upload files above 128MB. 😵💫 MacOS 14.2.1 (23C71) Herd settings : Anyone got a fix? |
Can you check your FPM configuration? |
Please check the config file in ~/Library/Application Support/Herd/config/fpm |
OMGoodness I didn't know that it used a different config file other than the ini. 🤦♂️ Maybe https://herd.laravel.com/docs/1/advanced-usage/php-settings could be updated to reflect this? Thanks so much for letting me know. |
sorry that I closed this without a comment. |
I was really struggling to configure this as well and this finally solved it - but I don't understand why it was necessary still. The So why is the loaded |
I have the same issue, i have all my settings set to 100M. my ini files content for all versions:
My .conf files content for all fpm versions:
The GUI says its at 100M but im not able to upload files more than 15Mb. I restarted the Services, phpinfo() says:
|
Operating system version
MacOS Ventura 13.0
System architecture
ARM64 (M1, M2, etc)
Herd Version
1.3.1
PHP Version
PHP 8.1
Bug description
Got Request Entity Too Large when uploading a file more than 128mb
already increase sizes on config files (nginx, php.ini, and herd setting) and run
herd restart
, still doesn't workI also can see on
phpinfo()
, the post_max_size and upload_max_filesize is still 128M . it's still like not reflectedphp.ini:
Steps to reproduce
<input type "file" />
on html(I'm actually getting this on Laravel Nova on File field)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: