Comments (5)
上传的图片限制成了2M,能更大点吗?
from wizard.
已经调整为 100M,Docker 镜像的话使用最新的 1.0.5
FROM mylxsw/wizard:1.0.5
如果需要更大的文件上传,Docker 镜像的话,应该可以通过添加下面命令重新打包解决,指定更大的大小限制
RUN echo "upload_max_filesize = 100M\npost_max_size = 0" > "$PHP_INI_DIR/conf.d/upload-limit.ini"
如果是自己装的 PHP 环境运行,参考 FAQ 问题4。
from wizard.
已经调整为 100M,Docker 镜像的话使用最新的 1.0.5
FROM mylxsw/wizard:1.0.5
如果需要更大的文件上传,Docker 镜像的话,应该可以通过添加下面命令重新打包解决,指定更大的大小限制
RUN echo "upload_max_filesize = 100M\npost_max_size = 0" > "$PHP_INI_DIR/conf.d/upload-limit.ini"
如果是自己装的 PHP 环境运行,参考 FAQ 问题4。
那docker 容器化后挂载/webroot/storage/app/public 后不能上传图片及文档类型怎么解决呢?
from wizard.
对于这个问题 “那docker 容器化后挂载/webroot/storage/app/public 后不能上传图片及文档类型怎么解决呢?”,能否详细描述一下呢
- 无法上传图片还是所有的文件都无法上传呢,报错了吗,还是返回什么信息?
- 挂载
/webroot/storage/app/public
,你的操作步骤是什么
from wizard.
对于这个问题 “那docker 容器化后挂载/webroot/storage/app/public 后不能上传图片及文档类型怎么解决呢?”,能否详细描述一下呢
- 无法上传图片还是所有的文件都无法上传呢,报错了吗,还是返回什么信息?
- 挂载
/webroot/storage/app/public
,你的操作步骤是什么
随便挂载 不一定要挂载到 /webroot/storage/app/public目录
只要用了挂载的东西,上传文件及上传图片就没办法用
比如 docker run -d --name my-wizard -p 8080:80 -v /roor/file:/webroot/storage/app/public my-wizard
直接运行挂载 就没办法上传图片
from wizard.
Related Issues (20)
- 不懂为什么每次运行php artisan migrate:install都会报错 HOT 2
- 建议出个java版本的 HOT 1
- 有管理员账号和权限吗 HOT 3
- 一个用户加入多个用户组,只能看到一个用户组的项目
- 支持全文搜索引擎的url地址和鉴权信息在哪里修改?wizard页面创建的内容怎么同步到搜索引擎数据库? HOT 5
- 下载文档的文件名称是随机英文数字
- Table 'wizard_2.wz_project_catalogs' doesn't exist HOT 1
- Docker部署时遇到SQLSTATE[HY000] [2002] Connection refused HOT 4
- 请教两个功能 HOT 1
- 问下支持多语言吗? HOT 1
- 请问有没有文章仅同组用户的配置?
- LDAP接入配置后,登录提示”账号信息不合法“。 HOT 5
- 开发计划之文档分享,递归分享目录及子目录,文档,还是很有必要的
- 1.3.2版本上传附件报500错误,1.3.1是正常的 HOT 1
- 成功启动后,WEB访问页很多错误!
- php 7.4.33 下 composer 安装时就出错 HOT 2
- [LDAP接入问题] 账户信息不合法 HOT 2
- 可否在分享文档的页面加上密码或者文档保护性认证
- 表格最大行限制
- 同步swagger文档如果链接带有base auth 会同步失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wizard.