- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我将根据 this manual 在 Phabricator 中上传文件.但我发现 "$your_site/applications/view/PhabricatorFilesApplication/"中的本地磁盘存储引擎有 8M 的限制。
我已经在 nginx 的虚拟主机服务器 block 中设置了 client_max_body_size 64M
。
此外,post_max_size = 64M
,upload_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/
我有以下正则表达式 /[a-zA-Z0-9_-]/ 当字符串只包含从 a 到z 大小写、数字、_ 和 -。 我的代码有什么问题? 能否请您向我提供一个简短的解释和有关如何修复它的代码示例? //var
我是一名优秀的程序员,十分优秀!