貼文

求助:
利用 Octane 服务后,修改URL Rewriting后,上传文件大小被限制在2M,试了几次调整均没有解决。伪静态调整为laravel5的时候上传文件就变成了50M。
背景:
php.ini的upload_max_filesize 和 post_max_size 配置是50M。
client_max_body_size也被设置为50M。
https://discuss.fresns.org/post/xmd2lpq2

未登入無法操作

留言 3

Hello,

Octane retains PHP code in memory through the following service frameworks:

- FrankenPHP
- RoadRunner
- Swoole

Because the PHP files are now running directly from memory rather than using the system’s PHP installation, any configuration changes must be mad...

全文

https://discuss.fresns.org/comment/O4t7Vdv2
深度用户 作者 : 谢谢! 用Caddyfile配置了一下没解决,也试着octane的配置也没解决。 不过目前的功能已经可用,不上传大于2M文件也不影响。
共 1 條留言
上滑加載更多