gpt4 book ai didi

Phabricator:设置本地磁盘上传限制?

转载 作者:行者123 更新时间:2023-12-02 17:31:45 24 4
gpt4 key购买 nike

我将根据 this manual 在 Phabricator 中上传文件.但我发现 "$your_site/applications/view/PhabricatorFilesApplication/"中的本地磁盘存储引擎有 8M 的限制。

我已经在 nginx 的虚拟主机服务器 block 中设置了 client_max_body_size 64M

此外,post_max_size = 64Mupload_max_filezie = 64M 用于 php。

然后,重启nginx、php-fpm服务。

但是 Phabricator 还是打印出来了

No configured storage engine can store this file. See "Configuring File Storage" in the documentation for information on configuring storage engines.

当我上传一个大小超过8M的文件时。

此外,没有 storage.local-disk.max-size 配置键。

如何自定义本地磁盘上传限制?

Phabricator 535c1a5,libphutil aa6cd8f

最佳答案

所有引擎都不支持超过 8MB。较大的文件通过在客户端对它们进行分块并上传分块来存储(分块大小目前为 4MB)。

显然,分块仅适用于拖放 - 尝试使用它而不是使用文件上传表单。

关于Phabricator:设置本地磁盘上传限制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32263590/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com