FrankenPHP comes with its own PHP runtime. It doesn't use other system-installed PHP binaries or their ini files.
To see how ini files can be used, check the docs: https://frankenphp.dev/docs/config/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi there,
Every File upload I attempt larger than 2 MB on Filament fails. I don't see error in my logs, but I inspected the network requests from the browser and the errors are "413 | Request entity too large - nginx".
We're using Laravel Octane (FrankenPHP) on Forge (Ubuntu on DigitalOcean) and outside of this issue it's working fine. I'm also having the same issue running locally.
Steps to address the issue:
php.ini settings: I have set this php configuration on both /etc/php/8.4/fpm/php.ini and /etc/php/8.4/cli/php.ini:upload_max_filesize = 40M
post_max_size = 40M
memory_limit = 128M
client_max_body_size 40M;The issue still persists after all. Before I went crazy I turned Octane off and switched to regular PHP-FPM pool and the uploads were working just fine as expected.
What could be the reason that Octane is ignoring these configurations and still setting a file upload limit? It seems to be using a default of 2 MB since this is PHP's default, but I cannot find any other PHP configuration files other than the cli and the fpm.
I would appreciate any help towards this.
Thanks,
Please or to participate in this conversation.